Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.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.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008305/0.0008308, allocations: 94.22 kB / 18 MB, free: 5.602 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.001263/0.001263, allocations: 177.4 kB / 18.91 MB, free: 4.738 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.355/1.355, allocations: 223.3 MB / 242.9 MB, free: 24 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.191/0.191, allocations: 44.25 MB / 338.3 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002918, allocations: 8.75 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.0978, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003463/0.1013, allocations: 3.001 MB / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.1041, allocations: 1.509 MB / 477.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.1045, allocations: 23.88 kB / 477.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.105, allocations: 103.2 kB / 477.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005541/0.1056, allocations: 159 kB / 477.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1067, allocations: 490.7 kB / 478.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.1078, allocations: 0.8887 MB / 479.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/0.1082, allocations: 222.4 kB / 479.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004808/0.1087, allocations: 302.4 kB / 479.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.1092, allocations: 358.1 kB / 479.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.833e-05/0.1093, allocations: 20 kB / 479.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.1096, allocations: 131.7 kB / 480.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.1098, allocations: 155.3 kB / 480.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.1101, allocations: 319.5 kB / 480.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006177/0.1107, allocations: 0.6197 MB / 481.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1107, allocations: 4 kB / 481.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1107, allocations: 0 / 481.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.502e-05/0.1108, allocations: 0 / 481.2 MB, free: 5.027 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002236/0.113, allocations: 1.067 MB / 482.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.113, allocations: 12.03 kB / 482.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.1132, allocations: 87.91 kB / 482.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008945/0.1141, allocations: 0.5662 MB / 482.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.1142, allocations: 37.38 kB / 482.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.1143, allocations: 56.38 kB / 483 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1155, allocations: 0.6371 MB / 483.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.1155, allocations: 3.906 kB / 483.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.1156, allocations: 20 kB / 483.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.1156, allocations: 12 kB / 483.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.1168, allocations: 0.4939 MB / 484.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/0.1205, allocations: 2.679 MB / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.1216, allocations: 0.5347 MB / 487.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/0.1223, allocations: 282.9 kB / 487.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.1223, allocations: 8.172 kB / 487.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1224, allocations: 38.8 kB / 487.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.024e-06/0.1224, allocations: 0 / 487.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002721/0.1251, allocations: 1.223 MB / 488.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.1252, allocations: 136.5 kB / 489 MB, free: 12.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/0.1261, allocations: 0.649 MB / 489.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.1262, allocations: 37.7 kB / 489.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.1265, allocations: 356.7 kB / 490.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.1266, allocations: 185.4 kB / 490.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.1267, allocations: 65.56 kB / 490.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1269, allocations: 337.9 kB / 490.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.1276, allocations: 301.1 kB / 490.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007954/0.1284, allocations: 468.1 kB / 491.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.1299, allocations: 0.7545 MB / 492.2 MB, free: 9.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1299, allocations: 4 kB / 492.2 MB, free: 9.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001867/0.1317, allocations: 0.869 MB / 493 MB, free: 8.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.1319, allocations: 225.6 kB / 493.3 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.132, allocations: 4 kB / 493.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.132, allocations: 11.94 kB / 493.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000964/0.133, allocations: 207.8 kB / 493.5 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.133, allocations: 11.94 kB / 493.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/0.1336, allocations: 91.62 kB / 493.6 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.1337, allocations: 24 kB / 493.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1337, allocations: 4 kB / 493.6 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001574/0.1353, allocations: 0.7412 MB / 494.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1353, allocations: 4 kB / 494.3 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1353, allocations: 8 kB / 494.4 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.1362, allocations: 200.2 kB / 494.5 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.1362, allocations: 15.92 kB / 494.6 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.1368, allocations: 91.55 kB / 494.7 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.1368, allocations: 31.98 kB / 494.7 MB, free: 6.949 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0003196/0.1372, allocations: 293.4 kB / 495 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.1373, allocations: 71.16 kB / 495 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.1375, allocations: 90.89 kB / 495.1 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.1375, allocations: 8 kB / 495.1 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1376, allocations: 4 kB / 495.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1376, allocations: 0 / 495.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.1396, allocations: 1.295 MB / 496.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1396, allocations: 0 / 496.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/0.1403, allocations: 119.9 kB / 496.6 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.1404, allocations: 4 kB / 496.6 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.1404, allocations: 15.98 kB / 496.6 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.1404, allocations: 15.81 kB / 496.6 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1404, allocations: 4 kB / 496.6 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.1426, allocations: 1.231 MB / 497.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.1429, allocations: 196.2 kB / 498 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-05/0.143, allocations: 16 kB / 498 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/0.1436, allocations: 63.88 kB / 498.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.1437, allocations: 47.88 kB / 498.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.1438, allocations: 8 kB / 498.1 MB, free: 3.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006555/0.1444, allocations: 463 kB / 498.6 MB, free: 2.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1444, allocations: 0 / 498.6 MB, free: 2.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000868/0.1453, allocations: 228 kB / 498.8 MB, free: 2.691 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (46): * Single equations (assignments): 46 * 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.0003139/0.1456, allocations: 145.2 kB / 499 MB, free: 2.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002365/0.148, allocations: 1.052 MB / 0.4883 GB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.148, allocations: 0 / 0.4883 GB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007228/0.1487, allocations: 320 kB / 0.4886 GB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.15, allocations: 181.8 kB / 0.4888 GB, free: 1.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.1528, allocations: 1.849 MB / 0.4906 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.1534, allocations: 0.9543 MB / 0.4915 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.1537, allocations: 47.44 kB / 0.4916 GB, free: 14.06 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1537, allocations: 0 / 0.4916 GB, free: 14.06 MB / 382.1 MB Notification: Performance of Templates: time 0.01407/0.1677, allocations: 9.007 MB / 0.5004 GB, free: 5.094 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches