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.0008732/0.0008734, allocations: 93.97 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.001015/0.001016, allocations: 177.2 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.371/1.371, allocations: 223.3 MB / 243 MB, free: 14.21 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.2041/0.2041, allocations: 44.25 MB / 338.3 MB, free: 2.391 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 9.969 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1002, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003555/0.1038, allocations: 2.978 MB / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.1069, allocations: 1.509 MB / 477.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005245/0.1075, allocations: 19.88 kB / 477.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.108, allocations: 111.2 kB / 477.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006832/0.1087, allocations: 167 kB / 477.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1099, allocations: 479.2 kB / 478.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.1111, allocations: 0.8615 MB / 479 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.1115, allocations: 222.4 kB / 479.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005319/0.112, allocations: 286.4 kB / 479.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.1126, allocations: 350.1 kB / 479.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.1127, allocations: 27.94 kB / 479.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.614e-05/0.1128, allocations: 20 kB / 479.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.113, allocations: 155.3 kB / 480.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.1134, allocations: 315.5 kB / 480.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.1139, allocations: 0.5339 MB / 480.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1139, allocations: 0 / 480.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1139, allocations: 0 / 480.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.1139, allocations: 3.938 kB / 480.9 MB, free: 5.262 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.002234/0.1162, allocations: 1.051 MB / 482 MB, free: 4.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1162, allocations: 8.031 kB / 482 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.1164, allocations: 87.91 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009318/0.1174, allocations: 0.57 MB / 482.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.1174, allocations: 41.38 kB / 482.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.1175, allocations: 52.38 kB / 482.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1187, allocations: 0.6333 MB / 483.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.1187, allocations: 11.84 kB / 483.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.1188, allocations: 16 kB / 483.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.1188, allocations: 16 kB / 483.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.12, allocations: 0.49 MB / 483.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.1237, allocations: 2.686 MB / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.1248, allocations: 0.5741 MB / 487.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005838/0.1254, allocations: 278.4 kB / 487.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.1255, allocations: 8.078 kB / 487.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1255, allocations: 42.5 kB / 487.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.1255, allocations: 0 / 487.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002564/0.1281, allocations: 1.202 MB / 488.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.1282, allocations: 140.4 kB / 488.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/0.1291, allocations: 0.6568 MB / 489.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.1292, allocations: 37.64 kB / 489.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.1294, allocations: 360 kB / 489.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.1296, allocations: 169.5 kB / 490 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/0.1297, allocations: 65.67 kB / 490.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1298, allocations: 333.9 kB / 490.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.1305, allocations: 285.1 kB / 490.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/0.1312, allocations: 460.5 kB / 491.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.1326, allocations: 0.7192 MB / 491.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1326, allocations: 0 / 491.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001675/0.1343, allocations: 0.8497 MB / 492.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.1344, allocations: 213.4 kB / 492.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1345, allocations: 4 kB / 492.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.1345, allocations: 11.94 kB / 492.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/0.1352, allocations: 159.8 kB / 493.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.1352, allocations: 11.94 kB / 493.1 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.1358, allocations: 99.53 kB / 493.2 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.1358, allocations: 20 kB / 493.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.1359, allocations: 6.344 kB / 493.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001466/0.1373, allocations: 0.7217 MB / 493.9 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1373, allocations: 4 kB / 493.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.1374, allocations: 8 kB / 493.9 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/0.138, allocations: 155.7 kB / 494.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.138, allocations: 12.14 kB / 494.1 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.1385, allocations: 79.64 kB / 494.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.1386, allocations: 24 kB / 494.2 MB, free: 7.398 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.0003436/0.1389, allocations: 294.2 kB / 494.5 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.1391, allocations: 79 kB / 494.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.1393, allocations: 90.22 kB / 494.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1393, allocations: 4 kB / 494.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1393, allocations: 0 / 494.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.1394, allocations: 7.984 kB / 494.7 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.1407, allocations: 0.8648 MB / 495.5 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1407, allocations: 0 / 495.5 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006413/0.1414, allocations: 115.9 kB / 495.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1414, allocations: 4 kB / 495.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.1414, allocations: 12.09 kB / 495.7 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.1414, allocations: 7.875 kB / 495.7 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1415, allocations: 4 kB / 495.7 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.1436, allocations: 1.203 MB / 496.9 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.1439, allocations: 196.2 kB / 497.1 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-05/0.144, allocations: 16 kB / 497.1 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/0.1445, allocations: 67.88 kB / 497.2 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1446, allocations: 43.81 kB / 497.2 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.1447, allocations: 12 kB / 497.2 MB, free: 4.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006676/0.1454, allocations: 459 kB / 497.7 MB, free: 3.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1454, allocations: 7.938 kB / 497.7 MB, free: 3.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007921/0.1462, allocations: 196 kB / 497.9 MB, free: 3.641 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.0001467/0.1463, allocations: 115.1 kB / 498 MB, free: 3.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.1486, allocations: 1.02 MB / 499 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1486, allocations: 0 / 499 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000671/0.1492, allocations: 307.6 kB / 499.3 MB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.1504, allocations: 169.6 kB / 499.5 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.1533, allocations: 1.842 MB / 0.4895 GB, free: 152 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/0.1539, allocations: 0.9458 MB / 0.4905 GB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.1541, allocations: 51.44 kB / 0.4905 GB, free: 15.12 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1541, allocations: 0 / 0.4905 GB, free: 15.12 MB / 382.1 MB Notification: Performance of Templates: time 0.01378/0.1679, allocations: 8.63 MB / 0.4989 GB, free: 6.527 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins1/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