Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008087/0.0008087, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2293/0.2293, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 8 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 58.86 MB / 490.2 MB, free: 8.691 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3897/0.5077, allocations: 96.09 MB / 0.5726 GB, free: 3.836 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.508, allocations: 68.22 kB / 0.5727 GB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08096/0.589, allocations: 28.08 MB / 0.6001 GB, free: 12.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.589, allocations: 4 kB / 0.6001 GB, free: 12.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001419/0.5892, allocations: 23.94 kB / 0.6001 GB, free: 12.02 MB / 410.7 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.002406/0.5916, allocations: 1.097 MB / 0.6012 GB, free: 10.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.5916, allocations: 8.031 kB / 0.6012 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.5918, allocations: 94.88 kB / 0.6013 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.5929, allocations: 0.5817 MB / 0.6018 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.593, allocations: 39.75 kB / 0.6019 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-05/0.5931, allocations: 56.66 kB / 0.6019 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5942, allocations: 0.6329 MB / 0.6025 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.5943, allocations: 7.984 kB / 0.6026 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.5943, allocations: 18.69 kB / 0.6026 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.5943, allocations: 15.98 kB / 0.6026 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.5954, allocations: 0.4924 MB / 0.6031 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.5993, allocations: 2.696 MB / 0.6057 GB, free: 6.855 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.6005, allocations: 0.5901 MB / 0.6063 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/0.6006, allocations: 4.062 kB / 0.6063 GB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.6006, allocations: 38.34 kB / 0.6063 GB, free: 6.336 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.6006, allocations: 4 kB / 0.6063 GB, free: 6.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0026/0.6032, allocations: 1.21 MB / 0.6075 GB, free: 5.297 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.6033, allocations: 144.5 kB / 0.6076 GB, free: 5.125 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009376/0.6043, allocations: 0.5739 MB / 0.6082 GB, free: 4.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.6043, allocations: 37.2 kB / 0.6082 GB, free: 4.625 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.6046, allocations: 356.7 kB / 0.6086 GB, free: 4.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.6048, allocations: 177.7 kB / 0.6087 GB, free: 4.258 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.6048, allocations: 10.88 kB / 0.6088 GB, free: 4.258 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.6049, allocations: 339.2 kB / 0.6091 GB, free: 3.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006363/0.6056, allocations: 284.5 kB / 0.6094 GB, free: 3.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007004/0.6063, allocations: 451.9 kB / 0.6098 GB, free: 3.297 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.607, allocations: 335.1 kB / 0.6101 GB, free: 3.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.607, allocations: 0 / 0.6101 GB, free: 3.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00166/0.6087, allocations: 0.8479 MB / 0.6109 GB, free: 2.391 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008009/0.6095, allocations: 1.746 MB / 0.6126 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.6095, allocations: 4 kB / 0.6126 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.6095, allocations: 12 kB / 0.6127 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/0.6103, allocations: 162.3 kB / 0.6128 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.6103, allocations: 11.94 kB / 0.6128 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007566/0.6111, allocations: 96.7 kB / 0.6129 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.6111, allocations: 31.5 kB / 0.6129 GB, free: 256 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.6112, allocations: 4 kB / 0.6129 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001542/0.6127, allocations: 0.7167 MB / 0.6136 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.6127, allocations: 4 kB / 0.6136 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.6128, allocations: 8 kB / 0.6137 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.6134, allocations: 153.4 kB / 0.6138 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.6134, allocations: 15.94 kB / 0.6138 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/0.6141, allocations: 83.19 kB / 0.6139 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.6142, allocations: 23.44 kB / 0.6139 GB, free: 15.45 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004975/0.6147, allocations: 290.4 kB / 0.6142 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.6149, allocations: 79.02 kB / 0.6143 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.615, allocations: 92.84 kB / 0.6144 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.6151, allocations: 4 kB / 0.6144 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.6151, allocations: 4 kB / 0.6144 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.6151, allocations: 0 / 0.6144 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.6165, allocations: 0.8441 MB / 0.6152 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6165, allocations: 0 / 0.6152 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/0.6172, allocations: 119 kB / 0.6153 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.6172, allocations: 4 kB / 0.6153 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/0.6173, allocations: 18.73 kB / 0.6153 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.6173, allocations: 0 / 0.6153 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6173, allocations: 3.938 kB / 0.6153 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.6194, allocations: 1.225 MB / 0.6165 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.6197, allocations: 206.7 kB / 0.6167 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/0.6198, allocations: 10.25 kB / 0.6167 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/0.6204, allocations: 70.69 kB / 0.6168 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.6205, allocations: 37.94 kB / 0.6168 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.6205, allocations: 11.12 kB / 0.6168 GB, free: 12.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000715/0.6213, allocations: 471.6 kB / 0.6173 GB, free: 12.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6213, allocations: 0 / 0.6173 GB, free: 12.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008711/0.6221, allocations: 200.5 kB / 0.6175 GB, free: 12.36 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002014/0.6224, allocations: 117.4 kB / 0.6176 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.6247, allocations: 1.019 MB / 0.6186 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6247, allocations: 0 / 0.6186 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006532/0.6253, allocations: 305.4 kB / 0.6189 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009351/0.6263, allocations: 165.7 kB / 0.619 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.6293, allocations: 1.714 MB / 0.6207 GB, free: 9.469 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.6299, allocations: 0.976 MB / 0.6217 GB, free: 8.473 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005735/0.6305, allocations: 156.7 kB / 0.6218 GB, free: 8.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.6306, allocations: 47.42 kB / 0.6219 GB, free: 8.273 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6306, allocations: 0 / 0.6219 GB, free: 8.273 MB / 426.7 MB Notification: Performance of Templates: time 0.01339/0.644, allocations: 6.686 MB / 0.6284 GB, free: 1.625 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches