Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008539/0.000854, allocations: 100.9 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.3 MB / 239.7 MB, free: 5.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 188.5 kB / 290.9 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5308/0.5308, allocations: 78.55 MB / 420.6 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 11.94 kB / 0.4887 GB, free: 6.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, allocations: 69.36 MB / 0.5564 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.3956/0.5658, allocations: 5.597 MB / 0.5619 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004509/0.5703, allocations: 1.787 MB / 0.5636 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007802/0.5711, allocations: 16.25 kB / 0.5636 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005462/0.5717, allocations: 147.2 kB / 0.5638 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.5735, allocations: 0.5796 MB / 0.5644 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.5749, allocations: 0.5281 MB / 0.5649 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.5765, allocations: 1.22 MB / 0.5661 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000451/0.577, allocations: 232.9 kB / 0.5663 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006747/0.5776, allocations: 491.9 kB / 0.5668 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007032/0.5784, allocations: 0.6089 MB / 0.5673 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.5785, allocations: 50.47 kB / 0.5674 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.5789, allocations: 170.1 kB / 0.5676 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.5791, allocations: 217.5 kB / 0.5678 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.5793, allocations: 205 kB / 0.568 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000958/0.5802, allocations: 1.068 MB / 0.569 GB, free: 35.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.5802, allocations: 0 / 0.569 GB, free: 35.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5803, allocations: 0 / 0.569 GB, free: 35.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.5803, allocations: 1.875 kB / 0.569 GB, free: 35.91 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006595/0.5869, allocations: 2.288 MB / 0.5712 GB, free: 35.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.5869, allocations: 8.656 kB / 0.5712 GB, free: 35.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/0.5915, allocations: 0.7786 MB / 0.572 GB, free: 35.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.593, allocations: 0.7009 MB / 0.5727 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003309/0.5933, allocations: 268.1 kB / 0.5729 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.5935, allocations: 74.5 kB / 0.573 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.596, allocations: 1.164 MB / 0.5742 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.5961, allocations: 3.938 kB / 0.5742 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.5962, allocations: 29.59 kB / 0.5742 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.5962, allocations: 18.61 kB / 0.5742 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.5987, allocations: 1.115 MB / 0.5753 GB, free: 34.36 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00614/0.6049, allocations: 3.586 MB / 0.5788 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.6073, allocations: 1.55 MB / 0.5803 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.6087, allocations: 0.8199 MB / 0.5811 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.6088, allocations: 12.58 kB / 0.5811 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.6088, allocations: 49.47 kB / 0.5812 GB, free: 31.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.996e-06/0.6088, allocations: 2.344 kB / 0.5812 GB, free: 31.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02601/0.6349, allocations: 7.939 MB / 0.5889 GB, free: 29.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/0.635, allocations: 95.75 kB / 0.589 GB, free: 29.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.6369, allocations: 0.8174 MB / 0.5898 GB, free: 29.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002692/0.6372, allocations: 48.73 kB / 0.5899 GB, free: 29.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/0.6377, allocations: 453.7 kB / 0.5903 GB, free: 28.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004569/0.6381, allocations: 321.1 kB / 0.5906 GB, free: 28.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.6382, allocations: 21.31 kB / 0.5906 GB, free: 28.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6384, allocations: 348 kB / 0.591 GB, free: 28.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.6403, allocations: 0.7725 MB / 0.5917 GB, free: 27.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.6425, allocations: 0.8987 MB / 0.5926 GB, free: 27.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.6445, allocations: 0.8257 MB / 0.5934 GB, free: 27.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.6445, allocations: 1.031 kB / 0.5934 GB, free: 27.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01617/0.6607, allocations: 5.121 MB / 0.5984 GB, free: 26.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.6609, allocations: 157 kB / 0.5985 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.6609, allocations: 2.344 kB / 0.5985 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006962/0.6679, allocations: 2.113 MB / 0.6006 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.669, allocations: 194.3 kB / 0.6008 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02214/0.6912, allocations: 9.559 MB / 0.6101 GB, free: 21.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.6929, allocations: 213.5 kB / 0.6103 GB, free: 21.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.693, allocations: 37.95 kB / 0.6104 GB, free: 21.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.6931, allocations: 6.594 kB / 0.6104 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01318/0.7062, allocations: 4.979 MB / 0.6152 GB, free: 17.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.7063, allocations: 1.016 kB / 0.6152 GB, free: 17.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00556/0.7119, allocations: 2.119 MB / 0.6173 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009824/0.7129, allocations: 187.7 kB / 0.6175 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/0.7309, allocations: 9.54 MB / 0.6268 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.7324, allocations: 188.2 kB / 0.627 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/0.7326, allocations: 40.64 kB / 0.627 GB, free: 5.484 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006004/0.7332, allocations: 308.9 kB / 0.6273 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.7333, allocations: 106.7 kB / 0.6274 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.7446, allocations: 4.826 MB / 0.6321 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.7447, allocations: 8 kB / 0.6321 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7447, allocations: 0 / 0.6321 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/0.7447, allocations: 7.984 kB / 0.6321 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/0.7604, allocations: 6.542 MB / 0.6385 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.7604, allocations: 0 / 0.6385 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007491/0.7612, allocations: 116.8 kB / 0.6386 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006078/0.7673, allocations: 2.054 MB / 0.6407 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/0.7675, allocations: 19.98 kB / 0.6407 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/0.785, allocations: 8.212 MB / 0.6487 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7851, allocations: 0 / 0.6487 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/0.8001, allocations: 5.805 MB / 0.6544 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/0.8008, allocations: 195.5 kB / 0.6545 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.801, allocations: 16.75 kB / 0.6546 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009454/0.8019, allocations: 143.9 kB / 0.6547 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006923/0.8026, allocations: 205.5 kB / 0.6549 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/0.8027, allocations: 24 kB / 0.6549 GB, free: 8.551 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008102/0.8035, allocations: 0.5471 MB / 0.6555 GB, free: 7.992 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8035, allocations: 0 / 0.6555 GB, free: 7.992 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002368/0.8059, allocations: 0.6875 MB / 0.6561 GB, free: 7.305 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003182/0.8062, allocations: 135 kB / 0.6563 GB, free: 7.168 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01153/0.8178, allocations: 4.625 MB / 0.6608 GB, free: 2.531 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.8179, allocations: 4.125 kB / 0.6608 GB, free: 2.527 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004587/0.8224, allocations: 1.736 MB / 0.6625 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.8239, allocations: 91.02 kB / 0.6626 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005321/0.8292, allocations: 2.396 MB / 0.6649 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.8303, allocations: 1.078 MB / 0.6659 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.8307, allocations: 67.42 kB / 0.666 GB, free: 13.11 MB / 478.1 MB Notification: Performance of SimCode: time 1.643e-06/0.8308, allocations: 0 / 0.666 GB, free: 13.11 MB / 478.1 MB Notification: Performance of Templates: time 0.0349/0.8657, allocations: 19.99 MB / 0.6855 GB, free: 9.238 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVRCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVRCalcHelperMain.o] Error 1