Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009145/0.0009145, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.367/1.367, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008518/0.0008518, allocations: 86.61 kB / 267 MB, free: 9.285 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.3543/0.3543, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.405e-05/2.407e-05, allocations: 4 kB / 425.3 MB, free: 8.234 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 58.84 MB / 484.1 MB, free: 13.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3628/0.4918, allocations: 90.77 MB / 0.5614 GB, free: 14.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.492, allocations: 66.73 kB / 0.5615 GB, free: 14.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03908/0.5311, allocations: 15.82 MB / 0.5769 GB, free: 1.574 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5311, allocations: 0 / 0.5769 GB, free: 1.574 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.475e-05/0.5312, allocations: 23.94 kB / 0.577 GB, free: 1.551 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001726/0.5329, allocations: 1.04 MB / 0.578 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.533, allocations: 15.97 kB / 0.578 GB, free: 0.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.5331, allocations: 98.78 kB / 0.5781 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.5342, allocations: 0.6182 MB / 0.5787 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.5343, allocations: 42.31 kB / 0.5787 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.473e-05/0.5343, allocations: 60.95 kB / 0.5788 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008607/0.5352, allocations: 0.5588 MB / 0.5793 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.5352, allocations: 7.953 kB / 0.5793 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.5353, allocations: 21.38 kB / 0.5794 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.5353, allocations: 12 kB / 0.5794 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005917/0.5359, allocations: 367.4 kB / 0.5797 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.5387, allocations: 2.285 MB / 0.582 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.5401, allocations: 0.7051 MB / 0.5826 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.5404, allocations: 199.7 kB / 0.5828 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.5404, allocations: 11.81 kB / 0.5828 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.5405, allocations: 41.81 kB / 0.5829 GB, free: 12.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 1.684e-06/0.5405, allocations: 0 / 0.5829 GB, free: 12.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007343/0.5412, allocations: 437 kB / 0.5833 GB, free: 11.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.5413, allocations: 136.3 kB / 0.5834 GB, free: 11.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.5418, allocations: 0.4907 MB / 0.5839 GB, free: 11.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.5419, allocations: 40.14 kB / 0.584 GB, free: 11.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.5421, allocations: 362.4 kB / 0.5843 GB, free: 11.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.5422, allocations: 162.4 kB / 0.5845 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.5423, allocations: 11.38 kB / 0.5845 GB, free: 11.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.5424, allocations: 330.8 kB / 0.5848 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.5427, allocations: 159.5 kB / 0.5849 GB, free: 10.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.543, allocations: 250.7 kB / 0.5852 GB, free: 10.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.5432, allocations: 170.4 kB / 0.5853 GB, free: 10.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.5433, allocations: 0 / 0.5853 GB, free: 10.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000745/0.544, allocations: 0.5111 MB / 0.5858 GB, free: 9.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003141/0.5443, allocations: 0.8899 MB / 0.5867 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5443, allocations: 0 / 0.5867 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.5444, allocations: 8 kB / 0.5867 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/0.5453, allocations: 207.2 kB / 0.5869 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.5453, allocations: 4.938 kB / 0.5869 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/0.5458, allocations: 115 kB / 0.587 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.5459, allocations: 23.23 kB / 0.587 GB, free: 8.652 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.5459, allocations: 4 kB / 0.587 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000601/0.5465, allocations: 408.6 kB / 0.5874 GB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.5465, allocations: 4 kB / 0.5874 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.5465, allocations: 8 kB / 0.5874 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.5473, allocations: 171.2 kB / 0.5876 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.5473, allocations: 8 kB / 0.5876 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.5477, allocations: 96.84 kB / 0.5877 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.5477, allocations: 19.06 kB / 0.5877 GB, free: 8.094 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0001193/0.5479, allocations: 127.8 kB / 0.5878 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.548, allocations: 79 kB / 0.5879 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.5481, allocations: 82 kB / 0.588 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.5482, allocations: 5.406 kB / 0.588 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.5482, allocations: 4 kB / 0.588 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.5482, allocations: 8.078 kB / 0.588 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.5497, allocations: 1.165 MB / 0.5892 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5497, allocations: 0 / 0.5892 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.5503, allocations: 159.6 kB / 0.5893 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5504, allocations: 0 / 0.5893 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.5504, allocations: 18.44 kB / 0.5893 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.5504, allocations: 4 kB / 0.5893 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5504, allocations: 0 / 0.5893 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.5515, allocations: 0.852 MB / 0.5902 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.5517, allocations: 196.6 kB / 0.5904 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/0.5518, allocations: 14.92 kB / 0.5904 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.5523, allocations: 90.92 kB / 0.5905 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.5524, allocations: 37.56 kB / 0.5905 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.5525, allocations: 20.42 kB / 0.5905 GB, free: 5.797 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003835/0.5529, allocations: 395.4 kB / 0.5909 GB, free: 5.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5529, allocations: 0 / 0.5909 GB, free: 5.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005946/0.5535, allocations: 234.6 kB / 0.5911 GB, free: 5.297 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.0001472/0.5536, allocations: 116 kB / 0.5912 GB, free: 5.184 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009693/0.5546, allocations: 0.6514 MB / 0.5919 GB, free: 4.746 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5546, allocations: 1 kB / 0.5919 GB, free: 4.746 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.5549, allocations: 212 kB / 0.5921 GB, free: 4.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008038/0.5557, allocations: 183.2 kB / 0.5922 GB, free: 4.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.5581, allocations: 1.135 MB / 0.5933 GB, free: 3.418 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.5585, allocations: 0.9432 MB / 0.5943 GB, free: 2.441 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005795/0.5591, allocations: 143.5 kB / 0.5944 GB, free: 2.301 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.5593, allocations: 47.41 kB / 0.5944 GB, free: 2.254 MB / 410.7 MB Notification: Performance of SimCode: time 6.32e-07/0.5593, allocations: 0 / 0.5944 GB, free: 2.254 MB / 410.7 MB Notification: Performance of Templates: time 0.01457/0.5739, allocations: 8.753 MB / 0.603 GB, free: 9.574 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches