Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.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.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009211/0.0009211, allocations: 192.5 kB / 7.808 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.027/1.027, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007548/0.0007548, allocations: 87.97 kB / 261.4 MB, free: 13.61 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.1508/0.1508, allocations: 43.49 MB / 352.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.675e-06/7.725e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2185, allocations: 58.84 MB / 476.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09958/0.3181, allocations: 88.32 MB / 0.5516 GB, free: 10.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001531/0.3183, allocations: 67.25 kB / 0.5517 GB, free: 10.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03728/0.3556, allocations: 15.22 MB / 0.5666 GB, free: 11.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.425e-05/0.3557, allocations: 16 kB / 0.5666 GB, free: 11.26 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001566/0.3573, allocations: 1.071 MB / 0.5676 GB, free: 10.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3574, allocations: 8.031 kB / 0.5676 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.3575, allocations: 118.5 kB / 0.5677 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.3585, allocations: 0.6483 MB / 0.5684 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3585, allocations: 24 kB / 0.5684 GB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.3586, allocations: 43.89 kB / 0.5684 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000673/0.3593, allocations: 394.6 kB / 0.5688 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008769/0.3602, allocations: 0.5765 MB / 0.5694 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3602, allocations: 0 / 0.5694 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.3603, allocations: 5.094 kB / 0.5694 GB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.3603, allocations: 16 kB / 0.5694 GB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.3634, allocations: 2.663 MB / 0.572 GB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008639/0.3642, allocations: 0.5228 MB / 0.5725 GB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.3645, allocations: 208.9 kB / 0.5727 GB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.3646, allocations: 19.91 kB / 0.5727 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3646, allocations: 42.56 kB / 0.5728 GB, free: 4.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 1.513e-06/0.3646, allocations: 0 / 0.5728 GB, free: 4.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007756/0.3654, allocations: 458.4 kB / 0.5732 GB, free: 4.172 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.3655, allocations: 235.3 kB / 0.5734 GB, free: 3.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.3661, allocations: 0.5279 MB / 0.5739 GB, free: 3.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.3661, allocations: 29.7 kB / 0.574 GB, free: 3.312 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.3663, allocations: 292.1 kB / 0.5742 GB, free: 3.023 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.3665, allocations: 181.3 kB / 0.5744 GB, free: 2.844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.3665, allocations: 0 / 0.5744 GB, free: 2.844 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.3666, allocations: 333.9 kB / 0.5747 GB, free: 2.512 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.3668, allocations: 153.3 kB / 0.5749 GB, free: 2.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.3672, allocations: 283.8 kB / 0.5752 GB, free: 2.031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.3675, allocations: 185.6 kB / 0.5753 GB, free: 1.852 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3675, allocations: 0 / 0.5753 GB, free: 1.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001794/0.3693, allocations: 0.855 MB / 0.5762 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003981/0.3697, allocations: 1.135 MB / 0.5773 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3697, allocations: 0 / 0.5773 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009021/0.3706, allocations: 263.2 kB / 0.5775 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.3711, allocations: 135.8 kB / 0.5777 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.3746, allocations: 3.663 MB / 0.5812 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.3751, allocations: 71.78 kB / 0.5813 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.3751, allocations: 20.06 kB / 0.5813 GB, free: 11.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/0.3751, allocations: 11.91 kB / 0.5813 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009923/0.3761, allocations: 0.5146 MB / 0.5818 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3762, allocations: 4 kB / 0.5818 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.3766, allocations: 121.8 kB / 0.582 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/0.3773, allocations: 179.8 kB / 0.5821 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.38, allocations: 3.024 MB / 0.5851 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.3804, allocations: 59.62 kB / 0.5851 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.3804, allocations: 16.06 kB / 0.5851 GB, free: 7.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.3806, allocations: 129.7 kB / 0.5853 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.3807, allocations: 90.81 kB / 0.5854 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.3809, allocations: 86.72 kB / 0.5854 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3809, allocations: 8 kB / 0.5854 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3809, allocations: 0 / 0.5854 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3809, allocations: 3.984 kB / 0.5855 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008256/0.3818, allocations: 0.6536 MB / 0.5861 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3818, allocations: 0 / 0.5861 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.3824, allocations: 131.9 kB / 0.5862 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3824, allocations: 7.906 kB / 0.5862 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.3824, allocations: 4 kB / 0.5862 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3825, allocations: 3.938 kB / 0.5862 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.3825, allocations: 4 kB / 0.5862 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001028/0.3835, allocations: 1.042 MB / 0.5873 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.3837, allocations: 207.9 kB / 0.5875 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-05/0.3838, allocations: 8.109 kB / 0.5875 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/0.3843, allocations: 51.95 kB / 0.5875 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.3844, allocations: 35.86 kB / 0.5875 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.3844, allocations: 16 kB / 0.5876 GB, free: 4.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003983/0.3848, allocations: 407.1 kB / 0.5879 GB, free: 4.285 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007604/0.3856, allocations: 258.9 kB / 0.5882 GB, free: 4.031 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.0001326/0.3858, allocations: 99.19 kB / 0.5883 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002886/0.3886, allocations: 1.447 MB / 0.5897 GB, free: 2.445 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3887, allocations: 0 / 0.5897 GB, free: 2.445 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.3889, allocations: 211.8 kB / 0.5899 GB, free: 2.238 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009434/0.3899, allocations: 192.2 kB / 0.5901 GB, free: 2.051 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.392, allocations: 1.122 MB / 0.5912 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006366/0.3926, allocations: 1.044 MB / 0.5922 GB, free: 15.81 MB / 442.7 MB Notification: Performance of SimCode: time 2.615e-06/0.3926, allocations: 0 / 0.5922 GB, free: 15.81 MB / 442.7 MB Notification: Performance of Templates: time 0.01873/0.4113, allocations: 12.32 MB / 0.6042 GB, free: 3.504 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimPID/LimPID.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches