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/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 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 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 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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 107.2 kB / 17.03 MB, free: 6.102 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.001867/0.001867, allocations: 194.9 kB / 17.96 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2642/0.2642, allocations: 43.53 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001739, allocations: 68.72 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1257, allocations: 57.8 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005049/0.1308, allocations: 4.391 MB / 446.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.1337, allocations: 1.614 MB / 448 MB, free: 112 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005131/0.1342, allocations: 35.81 kB / 448 MB, free: 76 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004251/0.1346, allocations: 158.3 kB / 448.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.1351, allocations: 178.2 kB / 448.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.1364, allocations: 0.5868 MB / 448.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.1376, allocations: 1.046 MB / 450 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007127/0.1384, allocations: 447.1 kB / 450.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004594/0.1388, allocations: 362.2 kB / 450.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.1393, allocations: 393.7 kB / 451.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.1394, allocations: 84 kB / 451.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1395, allocations: 92 kB / 451.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.1397, allocations: 207.1 kB / 451.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.1401, allocations: 449.2 kB / 452 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.1412, allocations: 1.027 MB / 453 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.1412, allocations: 4 kB / 453 MB, free: 11.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1413, allocations: 0 / 453 MB, free: 11.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.1413, allocations: 0 / 453 MB, free: 11.06 MB / 334.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.00218/0.1435, allocations: 1.3 MB / 454.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.1435, allocations: 8.031 kB / 454.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.1437, allocations: 119.4 kB / 454.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.145, allocations: 0.6904 MB / 455.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/0.145, allocations: 53.69 kB / 455.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.1452, allocations: 60.38 kB / 455.2 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.1466, allocations: 0.7431 MB / 456 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.1466, allocations: 3.938 kB / 456 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.067e-05/0.1467, allocations: 28 kB / 456 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.1467, allocations: 16 kB / 456 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.1478, allocations: 0.5423 MB / 456.5 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.1513, allocations: 2.71 MB / 459.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.1527, allocations: 0.6632 MB / 459.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/0.1532, allocations: 283.3 kB / 460.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.1533, allocations: 19.88 kB / 460.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.1533, allocations: 42.56 kB / 460.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.745e-06/0.1534, allocations: 4 kB / 460.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001942/0.1553, allocations: 0.7939 MB / 461 MB, free: 2.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002261/0.1556, allocations: 239.3 kB / 461.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009132/0.1565, allocations: 0.7165 MB / 462 MB, free: 1.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.1565, allocations: 33.7 kB / 462 MB, free: 1.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/0.1569, allocations: 444.3 kB / 462.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.1571, allocations: 185.3 kB / 462.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.1573, allocations: 106.2 kB / 462.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1575, allocations: 330 kB / 463.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.158, allocations: 227 kB / 463.3 MB, free: 352 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.1586, allocations: 368 kB / 463.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.1596, allocations: 0.5566 MB / 464.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1596, allocations: 0 / 464.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002696/0.1623, allocations: 1.049 MB / 465.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.1624, allocations: 4 kB / 465.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.1624, allocations: 4 kB / 465.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.1637, allocations: 319.4 kB / 465.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/0.1643, allocations: 127.9 kB / 465.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00914/0.1734, allocations: 7.259 MB / 473 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/0.1742, allocations: 79.41 kB / 473 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.1742, allocations: 20 kB / 473.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006859/0.1749, allocations: 349.2 kB / 473.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000486/0.1754, allocations: 328 kB / 473.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007965/0.1762, allocations: 0.4906 MB / 474.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.1762, allocations: 0 / 474.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001615/0.1778, allocations: 0.747 MB / 475 MB, free: 3.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1779, allocations: 8 kB / 475 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1779, allocations: 0 / 475 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.1784, allocations: 141.9 kB / 475.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.1791, allocations: 171.8 kB / 475.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003773/0.1829, allocations: 3.438 MB / 478.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006182/0.1836, allocations: 63.56 kB / 478.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.1836, allocations: 20 kB / 478.8 MB, free: 15.78 MB / 366.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.0002702/0.1839, allocations: 228 kB / 479 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.1841, allocations: 90.88 kB / 479.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.1843, allocations: 99.39 kB / 479.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.1843, allocations: 7.984 kB / 479.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1844, allocations: 4 kB / 479.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1844, allocations: 0 / 479.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.1855, allocations: 0.7467 MB / 480 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1855, allocations: 4 kB / 480 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.186, allocations: 111.8 kB / 480.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.1861, allocations: 4 kB / 480.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.1861, allocations: 12 kB / 480.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.1861, allocations: 7.984 kB / 480.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1861, allocations: 0 / 480.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.188, allocations: 1.209 MB / 481.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.1883, allocations: 211.8 kB / 481.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.1884, allocations: 12 kB / 481.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.1889, allocations: 39.95 kB / 481.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.189, allocations: 35.89 kB / 481.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.189, allocations: 16 kB / 481.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007045/0.1897, allocations: 0.4912 MB / 482.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1898, allocations: 0 / 482.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001156/0.1909, allocations: 283.1 kB / 482.4 MB, free: 12.09 MB / 366.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.0001583/0.1911, allocations: 111.1 kB / 482.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004262/0.1954, allocations: 1.873 MB / 484.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1954, allocations: 0 / 484.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006194/0.196, allocations: 283.4 kB / 484.6 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.1975, allocations: 257.4 kB / 484.9 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.2003, allocations: 1.501 MB / 486.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.201, allocations: 0.9926 MB / 487.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004544/0.2015, allocations: 89.31 kB / 487.5 MB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.2016, allocations: 47.44 kB / 487.5 MB, free: 6.82 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2016, allocations: 4 kB / 487.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of Templates: time 0.02571/0.2274, allocations: 12.23 MB / 499.8 MB, free: 10.61 MB / 382.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches