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.001604/0.001604, allocations: 105.2 kB / 17.32 MB, free: 6.008 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.001983/0.001984, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.344/1.344, allocations: 222.9 MB / 241.9 MB, free: 15.48 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.2039/0.2039, allocations: 44.17 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 64.55 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1265, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005301/0.1318, allocations: 4.359 MB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.135, allocations: 1.508 MB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005862/0.1356, allocations: 31.88 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.1361, allocations: 114.9 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.1365, allocations: 130.8 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1377, allocations: 0.5389 MB / 475.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.1387, allocations: 1.035 MB / 476.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000655/0.1394, allocations: 439.1 kB / 476.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003556/0.1398, allocations: 354.3 kB / 477.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.1401, allocations: 397.6 kB / 477.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.1403, allocations: 88 kB / 477.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.81e-05/0.1404, allocations: 84 kB / 477.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.1405, allocations: 207.1 kB / 477.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.1409, allocations: 437.2 kB / 478.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000898/0.1418, allocations: 0.9811 MB / 479.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1418, allocations: 0 / 479.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1418, allocations: 0 / 479.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.1418, allocations: 0 / 479.4 MB, free: 4.004 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.002009/0.1438, allocations: 1.288 MB / 480.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1439, allocations: 12.02 kB / 480.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.1441, allocations: 115.5 kB / 480.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007232/0.1448, allocations: 0.6164 MB / 481.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/0.1449, allocations: 53.62 kB / 481.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-05/0.145, allocations: 72.36 kB / 481.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.1462, allocations: 0.7353 MB / 482.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1462, allocations: 3.938 kB / 482.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.1463, allocations: 28 kB / 482.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.1463, allocations: 20 kB / 482.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.1474, allocations: 0.5386 MB / 482.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.1507, allocations: 2.722 MB / 485.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.1521, allocations: 0.671 MB / 486.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.1526, allocations: 279.3 kB / 486.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-05/0.1527, allocations: 11.94 kB / 486.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.1527, allocations: 42.56 kB / 486.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.134e-06/0.1527, allocations: 0 / 486.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.001705/0.1544, allocations: 0.7917 MB / 487.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.1546, allocations: 243.3 kB / 487.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/0.1554, allocations: 0.7007 MB / 488.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.1554, allocations: 37.7 kB / 488.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.1558, allocations: 428.5 kB / 488.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.1559, allocations: 185.3 kB / 488.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.1561, allocations: 106.1 kB / 489 MB, free: 9.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1563, allocations: 330 kB / 489.3 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.1568, allocations: 227 kB / 489.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.1574, allocations: 368 kB / 489.9 MB, free: 8.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.1584, allocations: 0.5595 MB / 490.5 MB, free: 8.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1584, allocations: 0 / 490.5 MB, free: 8.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002534/0.161, allocations: 1.044 MB / 491.5 MB, free: 7.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.161, allocations: 6.5 kB / 491.5 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.161, allocations: 4 kB / 491.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.1622, allocations: 327.3 kB / 491.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.1628, allocations: 127.9 kB / 492 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008872/0.1717, allocations: 7.259 MB / 499.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.1723, allocations: 79.41 kB / 499.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/0.1723, allocations: 20 kB / 499.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006068/0.1729, allocations: 345.2 kB / 499.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004671/0.1734, allocations: 332 kB / 0.4883 GB, free: 14.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008075/0.1742, allocations: 0.4968 MB / 0.4888 GB, free: 13.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/0.1742, allocations: 0 / 0.4888 GB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001603/0.1759, allocations: 0.7392 MB / 0.4895 GB, free: 12.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1759, allocations: 8.281 kB / 0.4895 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1759, allocations: 8 kB / 0.4895 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000493/0.1764, allocations: 137.6 kB / 0.4896 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.1772, allocations: 175.9 kB / 0.4898 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/0.1808, allocations: 3.422 MB / 0.4931 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.1814, allocations: 71.47 kB / 0.4932 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.1814, allocations: 20 kB / 0.4932 GB, free: 8.82 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.0002388/0.1817, allocations: 216.1 kB / 0.4934 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.1819, allocations: 94.94 kB / 0.4935 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.1821, allocations: 99.2 kB / 0.4936 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.1821, allocations: 7.984 kB / 0.4936 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1821, allocations: 0 / 0.4936 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.1821, allocations: 7.984 kB / 0.4936 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.1833, allocations: 0.735 MB / 0.4944 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1833, allocations: 0 / 0.4944 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.1839, allocations: 107.9 kB / 0.4945 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.1839, allocations: 4 kB / 0.4945 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.1839, allocations: 12 kB / 0.4945 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.1839, allocations: 7.984 kB / 0.4945 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1839, allocations: 0 / 0.4945 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.1858, allocations: 1.213 MB / 0.4957 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.1861, allocations: 215.8 kB / 0.4959 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.1862, allocations: 12 kB / 0.4959 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004919/0.1867, allocations: 39.95 kB / 0.4959 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.1868, allocations: 35.89 kB / 0.496 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.1869, allocations: 12 kB / 0.496 GB, free: 5.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005917/0.1875, allocations: 487 kB / 0.4964 GB, free: 5.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1875, allocations: 4 kB / 0.4964 GB, free: 5.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001006/0.1885, allocations: 283.1 kB / 0.4967 GB, free: 5.172 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.0001637/0.1887, allocations: 115.6 kB / 0.4968 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004016/0.1927, allocations: 1.896 MB / 0.4987 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1927, allocations: 0 / 0.4987 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005544/0.1933, allocations: 279.2 kB / 0.4989 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.1947, allocations: 244.6 kB / 0.4992 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.1976, allocations: 1.825 MB / 0.501 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2002/0.3979, allocations: 0.9791 MB / 0.5019 GB, free: 47.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006002/0.3985, allocations: 88.73 kB / 0.502 GB, free: 47.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.3987, allocations: 46.97 kB / 0.502 GB, free: 47.43 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3987, allocations: 0.6875 kB / 0.502 GB, free: 47.43 MB / 382.1 MB Notification: Performance of Templates: time 0.02355/0.4223, allocations: 12.07 MB / 0.5138 GB, free: 44.73 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches