Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,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_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008986, allocations: 93.14 kB / 17.35 MB, free: 6.344 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.001208/0.001208, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.374/1.374, allocations: 223.3 MB / 242.3 MB, free: 256 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.198/0.198, allocations: 44.26 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 9.375 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 61.92 MB / 472.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003794/0.122, allocations: 2.985 MB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.1254, allocations: 1.512 MB / 476.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003076/0.1258, allocations: 19.88 kB / 476.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.1262, allocations: 107.2 kB / 476.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.1267, allocations: 163 kB / 477 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.128, allocations: 490.6 kB / 477.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.1291, allocations: 0.8615 MB / 478.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.1295, allocations: 218.4 kB / 478.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006112/0.1301, allocations: 290.4 kB / 478.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004625/0.1306, allocations: 346.1 kB / 479.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/0.1307, allocations: 20 kB / 479.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.519e-05/0.1307, allocations: 24 kB / 479.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.131, allocations: 155.3 kB / 479.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.1313, allocations: 323.5 kB / 479.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006985/0.132, allocations: 0.6808 MB / 480.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.132, allocations: 0 / 480.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.132, allocations: 3.938 kB / 480.4 MB, free: 5.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.132, allocations: 0 / 480.4 MB, free: 5.176 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.002437/0.1345, allocations: 1.055 MB / 481.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1345, allocations: 8.031 kB / 481.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.1347, allocations: 91.91 kB / 481.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.1357, allocations: 0.5661 MB / 482.1 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.1358, allocations: 37.38 kB / 482.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1359, allocations: 52.38 kB / 482.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1371, allocations: 0.6372 MB / 482.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.1371, allocations: 7.844 kB / 482.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.1372, allocations: 20 kB / 482.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1372, allocations: 8 kB / 482.9 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.1385, allocations: 0.4939 MB / 483.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004429/0.1429, allocations: 2.69 MB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.1441, allocations: 0.5751 MB / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.1447, allocations: 274.4 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.1447, allocations: 12.03 kB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.1449, allocations: 42.55 kB / 487 MB, free: 14.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.1449, allocations: 0 / 487 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00286/0.1478, allocations: 1.206 MB / 488.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.1479, allocations: 140.5 kB / 488.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009995/0.1489, allocations: 0.649 MB / 488.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.1489, allocations: 37.7 kB / 489 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.1494, allocations: 364 kB / 489.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.1497, allocations: 169.6 kB / 489.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.1498, allocations: 61.67 kB / 489.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002799/0.1501, allocations: 337.9 kB / 489.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007105/0.1508, allocations: 281.1 kB / 490.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007953/0.1516, allocations: 460.5 kB / 490.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.1532, allocations: 0.7171 MB / 491.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1532, allocations: 0 / 491.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001783/0.155, allocations: 0.8558 MB / 492.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.1552, allocations: 213.4 kB / 492.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1552, allocations: 4 kB / 492.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.1552, allocations: 11.94 kB / 492.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.1559, allocations: 167.7 kB / 492.6 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.1559, allocations: 8 kB / 492.6 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/0.1566, allocations: 95.53 kB / 492.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.1566, allocations: 20 kB / 492.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.1566, allocations: 4 kB / 492.7 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/0.1581, allocations: 0.7256 MB / 493.4 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1581, allocations: 4 kB / 493.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.1582, allocations: 8 kB / 493.4 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/0.1588, allocations: 151.7 kB / 493.6 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1588, allocations: 11.98 kB / 493.6 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/0.1593, allocations: 79.77 kB / 493.7 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.1594, allocations: 31.98 kB / 493.7 MB, free: 7.305 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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0003403/0.1597, allocations: 298.2 kB / 494 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.1599, allocations: 75.06 kB / 494.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.1601, allocations: 90.25 kB / 494.2 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1601, allocations: 7.984 kB / 494.2 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1601, allocations: 0 / 494.2 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1601, allocations: 4 kB / 494.2 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.1615, allocations: 0.8648 MB / 495 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1615, allocations: 4 kB / 495 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007239/0.1622, allocations: 111.9 kB / 495.1 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1623, allocations: 8 kB / 495.2 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/0.1623, allocations: 12 kB / 495.2 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.1623, allocations: 11.88 kB / 495.2 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.1623, allocations: 3.984 kB / 495.2 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.1644, allocations: 1.192 MB / 496.4 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.1646, allocations: 200.1 kB / 496.6 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/0.1647, allocations: 12 kB / 496.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/0.1653, allocations: 67.88 kB / 496.6 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.1654, allocations: 35.94 kB / 496.7 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.1654, allocations: 12 kB / 496.7 MB, free: 4.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006687/0.1661, allocations: 466.9 kB / 497.2 MB, free: 3.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1661, allocations: 4 kB / 497.2 MB, free: 3.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007891/0.1669, allocations: 196 kB / 497.3 MB, free: 3.555 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (44): * Single equations (assignments): 44 * 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.0001249/0.1671, allocations: 111.2 kB / 497.5 MB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.1692, allocations: 1.021 MB / 498.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1693, allocations: 0 / 498.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007043/0.17, allocations: 311.6 kB / 498.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.1711, allocations: 179.3 kB / 499 MB, free: 1.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.1739, allocations: 1.789 MB / 0.489 GB, free: 116 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.1745, allocations: 0.9458 MB / 0.4899 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004871/0.175, allocations: 152.9 kB / 0.4901 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.1752, allocations: 43.44 kB / 0.4901 GB, free: 14.95 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1752, allocations: 0 / 0.4901 GB, free: 14.95 MB / 382.1 MB Notification: Performance of Templates: time 0.01197/0.1872, allocations: 6.773 MB / 0.4967 GB, free: 8.227 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches