Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 175.8 kB / 16.76 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007852/0.0007853, allocations: 92.95 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3719/0.3719, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003938, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1271, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.311/0.4382, allocations: 87.61 MB / 0.5655 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.4385, allocations: 67.97 kB / 0.5656 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02536/0.4639, allocations: 4.59 MB / 0.57 GB, free: 9.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.828e-06/0.464, allocations: 0 / 0.57 GB, free: 9.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.987e-05/0.464, allocations: 0 / 0.57 GB, free: 9.77 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001077/0.4651, allocations: 458.6 kB / 0.5705 GB, free: 9.273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.4652, allocations: 12.03 kB / 0.5705 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.4653, allocations: 16.75 kB / 0.5705 GB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.4658, allocations: 231 kB / 0.5707 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.4658, allocations: 7.5 kB / 0.5707 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.4659, allocations: 12.38 kB / 0.5708 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/0.4666, allocations: 200.5 kB / 0.5709 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.4666, allocations: 192 / 0.5709 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.4667, allocations: 7.938 kB / 0.5709 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4667, allocations: 4 kB / 0.571 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.4675, allocations: 155.9 kB / 0.5711 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.4689, allocations: 464.4 kB / 0.5715 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.4705, allocations: 326 kB / 0.5719 GB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/0.471, allocations: 88.73 kB / 0.5719 GB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.471, allocations: 7.938 kB / 0.5719 GB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.4711, allocations: 34.56 kB / 0.572 GB, free: 7.625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.4711, allocations: 0 / 0.572 GB, free: 7.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001429/0.4725, allocations: 285.5 kB / 0.5723 GB, free: 7.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.4727, allocations: 102.8 kB / 0.5724 GB, free: 7.215 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.4729, allocations: 168.3 kB / 0.5725 GB, free: 7.043 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.473, allocations: 25.7 kB / 0.5725 GB, free: 7.012 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.4731, allocations: 112.1 kB / 0.5726 GB, free: 6.898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.4732, allocations: 31.55 kB / 0.5727 GB, free: 6.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.4732, allocations: 0 / 0.5727 GB, free: 6.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4733, allocations: 328 kB / 0.573 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.4738, allocations: 83.94 kB / 0.5731 GB, free: 6.457 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.4743, allocations: 110.4 kB / 0.5732 GB, free: 6.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/0.4751, allocations: 161.4 kB / 0.5733 GB, free: 6.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4751, allocations: 4 kB / 0.5733 GB, free: 6.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009611/0.4761, allocations: 209.4 kB / 0.5735 GB, free: 5.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.4762, allocations: 100.9 kB / 0.5736 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4762, allocations: 3.984 kB / 0.5736 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4763, allocations: 0 / 0.5736 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.4765, allocations: 43.91 kB / 0.5737 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.4766, allocations: 0 / 0.5737 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.4768, allocations: 43.88 kB / 0.5737 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.4768, allocations: 0 / 0.5737 GB, free: 5.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4769, allocations: 4 kB / 0.5737 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003028/0.4772, allocations: 87.94 kB / 0.5738 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.4772, allocations: 0 / 0.5738 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.4772, allocations: 4 kB / 0.5738 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4774, allocations: 19.98 kB / 0.5738 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.4774, allocations: 0 / 0.5738 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.4775, allocations: 23.92 kB / 0.5738 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.4775, allocations: 0 / 0.5738 GB, free: 5.637 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.4778, allocations: 205 kB / 0.574 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.4778, allocations: 15.81 kB / 0.5741 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.686e-05/0.4779, allocations: 13.41 kB / 0.5741 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4779, allocations: 0 / 0.5741 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4779, allocations: 4.562 kB / 0.5741 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.478, allocations: 4.688 kB / 0.5741 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.4784, allocations: 229.6 kB / 0.5743 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4784, allocations: 0 / 0.5743 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.4786, allocations: 43.97 kB / 0.5743 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4786, allocations: 0 / 0.5743 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.4787, allocations: 4 kB / 0.5743 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.4787, allocations: 0 / 0.5743 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4787, allocations: 4 kB / 0.5743 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.4799, allocations: 399.1 kB / 0.5747 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.48, allocations: 92.91 kB / 0.5748 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.48, allocations: 8.062 kB / 0.5748 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.4804, allocations: 51.95 kB / 0.5749 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.4805, allocations: 7.984 kB / 0.5749 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.4806, allocations: 7.938 kB / 0.5749 GB, free: 4.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.4807, allocations: 119.8 kB / 0.575 GB, free: 4.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4807, allocations: 0 / 0.575 GB, free: 4.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005179/0.4812, allocations: 39.94 kB / 0.575 GB, free: 4.324 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * 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 (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001915/0.4815, allocations: 107.2 kB / 0.5751 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007895/0.4823, allocations: 219.8 kB / 0.5754 GB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4823, allocations: 0 / 0.5754 GB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.4826, allocations: 87.92 kB / 0.5754 GB, free: 3.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.4832, allocations: 39.16 kB / 0.5755 GB, free: 3.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008001/0.484, allocations: 333.5 kB / 0.5758 GB, free: 3.531 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.4843, allocations: 0.7048 MB / 0.5765 GB, free: 2.801 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.4844, allocations: 20.53 kB / 0.5765 GB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.4845, allocations: 15.44 kB / 0.5765 GB, free: 2.766 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4845, allocations: 0 / 0.5765 GB, free: 2.766 MB / 394.7 MB Notification: Performance of Templates: time 0.004726/0.4892, allocations: 1.916 MB / 0.5784 GB, free: 0.875 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches