Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.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/Complex 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(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_4.0.0_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_4.0.0_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 108.3 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 191 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2135/0.2135, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 72.2 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1357, allocations: 60.81 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005657/0.1414, allocations: 4.382 MB / 475.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.1447, allocations: 1.547 MB / 476.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009148/0.1456, allocations: 31.81 kB / 476.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.1461, allocations: 158.3 kB / 476.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007271/0.1469, allocations: 174.2 kB / 477 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1482, allocations: 0.5804 MB / 477.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.1492, allocations: 1.035 MB / 478.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000594/0.1498, allocations: 439.1 kB / 479 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.1501, allocations: 362.2 kB / 479.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.1505, allocations: 389.7 kB / 479.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.1506, allocations: 84 kB / 479.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-05/0.1507, allocations: 88 kB / 479.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.1509, allocations: 207.2 kB / 480.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.1512, allocations: 437.2 kB / 480.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008838/0.1521, allocations: 1.019 MB / 481.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1521, allocations: 0 / 481.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1521, allocations: 0 / 481.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.1521, allocations: 0 / 481.6 MB, free: 2.73 MB / 350.1 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.002008/0.1542, allocations: 1.292 MB / 482.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1542, allocations: 8.031 kB / 482.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.1544, allocations: 119.5 kB / 483 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.1554, allocations: 0.6632 MB / 483.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.1555, allocations: 45.69 kB / 483.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.1556, allocations: 68.38 kB / 483.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.1568, allocations: 0.7469 MB / 484.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.1568, allocations: 0 / 484.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.1569, allocations: 28 kB / 484.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.1569, allocations: 16 kB / 484.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.158, allocations: 0.543 MB / 485.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.1611, allocations: 2.702 MB / 487.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.1624, allocations: 0.6748 MB / 488.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.1629, allocations: 287.3 kB / 488.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.163, allocations: 4 kB / 488.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.163, allocations: 38.56 kB / 488.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 1.773e-06/0.163, allocations: 4 kB / 488.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.001673/0.1647, allocations: 0.7917 MB / 489.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.1649, allocations: 243.3 kB / 489.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007123/0.1656, allocations: 0.7007 MB / 490.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.1656, allocations: 33.7 kB / 490.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.1659, allocations: 432.5 kB / 491 MB, free: 8.934 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.1661, allocations: 185.3 kB / 491.2 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.1662, allocations: 106.1 kB / 491.3 MB, free: 8.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1663, allocations: 322 kB / 491.6 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.1668, allocations: 235 kB / 491.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/0.1674, allocations: 368 kB / 492.2 MB, free: 7.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.1686, allocations: 0.5619 MB / 492.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1686, allocations: 4 kB / 492.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002533/0.1711, allocations: 1.037 MB / 493.8 MB, free: 6.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.1711, allocations: 8.281 kB / 493.8 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1712, allocations: 8 kB / 493.8 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.1724, allocations: 315.1 kB / 494.1 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.1729, allocations: 127.9 kB / 494.2 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008738/0.1817, allocations: 7.251 MB / 0.4897 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.1823, allocations: 83.36 kB / 0.4898 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.1824, allocations: 24 kB / 0.4898 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006377/0.183, allocations: 349.2 kB / 0.4902 GB, free: 13.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000465/0.1835, allocations: 328 kB / 0.4905 GB, free: 12.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007623/0.1843, allocations: 0.5013 MB / 0.491 GB, free: 12.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.1843, allocations: 4 kB / 0.491 GB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001498/0.1858, allocations: 0.7312 MB / 0.4917 GB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1858, allocations: 8 kB / 0.4917 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1858, allocations: 4 kB / 0.4917 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004879/0.1863, allocations: 145.9 kB / 0.4918 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.187, allocations: 167.8 kB / 0.492 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/0.1904, allocations: 3.43 MB / 0.4953 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.1909, allocations: 63.5 kB / 0.4954 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.1909, allocations: 23.94 kB / 0.4954 GB, free: 7.516 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001945/0.1911, allocations: 216.1 kB / 0.4956 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.1913, allocations: 86.88 kB / 0.4957 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.1915, allocations: 103.2 kB / 0.4958 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1915, allocations: 8 kB / 0.4958 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1915, allocations: 0 / 0.4958 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1915, allocations: 7.984 kB / 0.4958 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009611/0.1925, allocations: 0.7311 MB / 0.4965 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1925, allocations: 4 kB / 0.4965 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/0.193, allocations: 103.9 kB / 0.4966 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1931, allocations: 7.984 kB / 0.4966 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.1931, allocations: 12.19 kB / 0.4967 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-06/0.1931, allocations: 15.98 kB / 0.4967 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1931, allocations: 3.938 kB / 0.4967 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.1948, allocations: 1.201 MB / 0.4979 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.1951, allocations: 215.7 kB / 0.4981 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.551e-05/0.1952, allocations: 15.98 kB / 0.4981 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.1956, allocations: 39.97 kB / 0.4981 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.1957, allocations: 39.89 kB / 0.4981 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.1958, allocations: 12 kB / 0.4982 GB, free: 4.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005036/0.1963, allocations: 490.9 kB / 0.4986 GB, free: 4.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1963, allocations: 0 / 0.4986 GB, free: 4.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000863/0.1972, allocations: 283.1 kB / 0.4989 GB, free: 3.863 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001259/0.1973, allocations: 111.1 kB / 0.499 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003661/0.201, allocations: 1.877 MB / 0.5008 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.201, allocations: 0 / 0.5008 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000517/0.2015, allocations: 278.8 kB / 0.5011 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.2027, allocations: 241.2 kB / 0.5013 GB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1938/0.3965, allocations: 1.479 MB / 0.5028 GB, free: 47.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/0.3971, allocations: 0.9835 MB / 0.5037 GB, free: 47.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005473/0.3977, allocations: 90.95 kB / 0.5038 GB, free: 47.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.3979, allocations: 45.44 kB / 0.5039 GB, free: 47.24 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3979, allocations: 2.812 kB / 0.5039 GB, free: 47.24 MB / 382.1 MB Notification: Performance of Templates: time 0.02161/0.4195, allocations: 12.22 MB / 0.5158 GB, free: 44.38 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches