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.0009142/0.0009143, allocations: 94.3 kB / 17.35 MB, free: 6.367 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.001031/0.001031, allocations: 175.4 kB / 18.25 MB, free: 5.523 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.362/1.362, allocations: 223.3 MB / 242.3 MB, free: 14.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.197/0.197, allocations: 44.24 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002989, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1021, allocations: 61.92 MB / 472.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003881/0.106, allocations: 2.993 MB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.1091, allocations: 1.509 MB / 476.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.1097, allocations: 19.88 kB / 476.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.1103, allocations: 111.2 kB / 476.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006766/0.111, allocations: 159 kB / 477 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1123, allocations: 493.9 kB / 477.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.1136, allocations: 0.8927 MB / 478.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.1141, allocations: 218.4 kB / 478.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000621/0.1147, allocations: 302.4 kB / 478.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006356/0.1154, allocations: 358.1 kB / 479.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.1155, allocations: 20 kB / 479.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.1158, allocations: 131.7 kB / 479.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.116, allocations: 159.3 kB / 479.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.1163, allocations: 311.5 kB / 479.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008219/0.1171, allocations: 0.8134 MB / 480.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1171, allocations: 0 / 480.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1171, allocations: 0 / 480.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.1172, allocations: 0 / 480.7 MB, free: 4.836 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.002227/0.1194, allocations: 1.071 MB / 481.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1194, allocations: 12.03 kB / 481.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.1196, allocations: 91.91 kB / 481.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008848/0.1205, allocations: 0.5584 MB / 482.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.1205, allocations: 37.38 kB / 482.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.1206, allocations: 56.38 kB / 482.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.1219, allocations: 0.6371 MB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.1219, allocations: 3.906 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/0.122, allocations: 24 kB / 483.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.122, allocations: 16 kB / 483.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1231, allocations: 497.8 kB / 483.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.1267, allocations: 2.679 MB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.1278, allocations: 0.5342 MB / 486.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006193/0.1285, allocations: 282.9 kB / 487.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.625e-05/0.1285, allocations: 8.234 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.1286, allocations: 34.8 kB / 487.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.515e-06/0.1286, allocations: 0 / 487.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002763/0.1313, allocations: 1.227 MB / 488.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.1315, allocations: 136.5 kB / 488.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/0.1323, allocations: 0.6529 MB / 489.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.1324, allocations: 37.64 kB / 489.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.1326, allocations: 356.7 kB / 489.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.1328, allocations: 185.4 kB / 489.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/0.1329, allocations: 57.69 kB / 489.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1331, allocations: 337.9 kB / 490.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006756/0.1337, allocations: 305.1 kB / 490.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008055/0.1346, allocations: 472 kB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.136, allocations: 0.7546 MB / 491.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1361, allocations: 0 / 491.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001845/0.1379, allocations: 0.8728 MB / 492.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.1381, allocations: 225.6 kB / 492.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.1381, allocations: 4 kB / 492.8 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.1381, allocations: 11.94 kB / 492.8 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009435/0.1391, allocations: 203.8 kB / 493 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.1391, allocations: 8 kB / 493 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006254/0.1397, allocations: 95.62 kB / 493.1 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.1398, allocations: 27.94 kB / 493.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.615e-06/0.1398, allocations: 4 kB / 493.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001583/0.1414, allocations: 0.7412 MB / 493.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1414, allocations: 4 kB / 493.9 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1414, allocations: 11.98 kB / 493.9 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008423/0.1423, allocations: 200.3 kB / 494.1 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.1423, allocations: 11.92 kB / 494.1 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.1429, allocations: 91.55 kB / 494.2 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.143, allocations: 24 kB / 494.2 MB, free: 6.762 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.0003757/0.1434, allocations: 293.3 kB / 494.5 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.1436, allocations: 71.16 kB / 494.6 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.1438, allocations: 94.89 kB / 494.7 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1438, allocations: 4 kB / 494.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.1438, allocations: 4 kB / 494.7 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1439, allocations: 0 / 494.7 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.1462, allocations: 1.299 MB / 496 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1462, allocations: 0 / 496 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/0.1469, allocations: 119.9 kB / 496.1 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/0.1469, allocations: 4 kB / 496.1 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.147, allocations: 19.98 kB / 496.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.147, allocations: 3.938 kB / 496.1 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.147, allocations: 7.938 kB / 496.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.1492, allocations: 1.227 MB / 497.3 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003392/0.1495, allocations: 196.2 kB / 497.5 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.1496, allocations: 16 kB / 497.5 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005827/0.1502, allocations: 71.81 kB / 497.6 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.1503, allocations: 47.81 kB / 497.7 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.1504, allocations: 8 kB / 497.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007058/0.1511, allocations: 467 kB / 498.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1511, allocations: 0 / 498.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009312/0.152, allocations: 224 kB / 498.3 MB, free: 2.5 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.000311/0.1524, allocations: 143.2 kB / 498.5 MB, free: 2.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002427/0.1548, allocations: 1.048 MB / 499.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1548, allocations: 0 / 499.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007144/0.1555, allocations: 320 kB / 499.8 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.1568, allocations: 187.5 kB / 0.4883 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.1597, allocations: 1.8 MB / 0.4901 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.1604, allocations: 0.9543 MB / 0.491 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006338/0.161, allocations: 148.9 kB / 0.4911 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.1612, allocations: 47.44 kB / 0.4912 GB, free: 13.78 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1612, allocations: 4 kB / 0.4912 GB, free: 13.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01553/0.1768, allocations: 7.648 MB / 0.4987 GB, free: 6.188 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","/var/lib/jenkins/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