Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.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_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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 184.3 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.433/1.433, 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.000854/0.0008539, allocations: 98.78 kB / 270.2 MB, free: 13.36 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.1901/0.1901, allocations: 43.57 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1183, allocations: 58.85 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.4939, allocations: 96.19 MB / 0.5727 GB, free: 3.746 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.4942, allocations: 75.28 kB / 0.5728 GB, free: 3.707 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08764/0.5818, allocations: 29.41 MB / 0.6015 GB, free: 10.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5819, allocations: 0 / 0.6015 GB, free: 10.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.306e-05/0.5819, allocations: 24 kB / 0.6015 GB, free: 10.79 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.002507/0.5845, allocations: 1.098 MB / 0.6026 GB, free: 9.695 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.079e-05/0.5846, allocations: 12.03 kB / 0.6026 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.5848, allocations: 86.97 kB / 0.6027 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.5862, allocations: 0.6108 MB / 0.6033 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.5863, allocations: 47 kB / 0.6033 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.412e-05/0.5864, allocations: 57.47 kB / 0.6034 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.5876, allocations: 0.6154 MB / 0.604 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.5876, allocations: 4 kB / 0.604 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.5877, allocations: 17.69 kB / 0.604 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.5877, allocations: 12 kB / 0.604 GB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.5888, allocations: 487.8 kB / 0.6045 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004195/0.593, allocations: 2.671 MB / 0.6071 GB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.5941, allocations: 0.5125 MB / 0.6076 GB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.753e-05/0.5942, allocations: 8.281 kB / 0.6076 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.5942, allocations: 42.23 kB / 0.6076 GB, free: 5.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 3.697e-06/0.5942, allocations: 4 kB / 0.6076 GB, free: 5.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.002654/0.5969, allocations: 1.186 MB / 0.6088 GB, free: 4.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.597, allocations: 110.8 kB / 0.6089 GB, free: 4.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008034/0.5978, allocations: 0.5736 MB / 0.6094 GB, free: 3.566 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.5978, allocations: 36.45 kB / 0.6095 GB, free: 3.531 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.5981, allocations: 352.8 kB / 0.6098 GB, free: 3.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.5983, allocations: 177.9 kB / 0.61 GB, free: 3.172 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.5983, allocations: 15.69 kB / 0.61 GB, free: 3.168 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5984, allocations: 329.6 kB / 0.6103 GB, free: 2.848 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006167/0.5991, allocations: 286.3 kB / 0.6106 GB, free: 2.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007214/0.5998, allocations: 434.9 kB / 0.611 GB, free: 2.238 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/0.6005, allocations: 326.4 kB / 0.6113 GB, free: 2.012 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6005, allocations: 4 kB / 0.6113 GB, free: 2.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001665/0.6022, allocations: 0.8342 MB / 0.6121 GB, free: 1.348 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007731/0.603, allocations: 1.75 MB / 0.6138 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.603, allocations: 4 kB / 0.6138 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.603, allocations: 11.95 kB / 0.6139 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.6041, allocations: 206.6 kB / 0.6141 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.6041, allocations: 15.97 kB / 0.6141 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.6047, allocations: 82.7 kB / 0.6142 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/0.6048, allocations: 27.23 kB / 0.6142 GB, free: 15.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.6048, allocations: 4 kB / 0.6142 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001399/0.6062, allocations: 0.7281 MB / 0.6149 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6062, allocations: 4 kB / 0.6149 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.6062, allocations: 8 kB / 0.6149 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009209/0.6072, allocations: 203.4 kB / 0.6151 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.6072, allocations: 8.031 kB / 0.6151 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.6077, allocations: 90.47 kB / 0.6152 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.6078, allocations: 23.62 kB / 0.6152 GB, free: 14.32 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0004556/0.6082, allocations: 298 kB / 0.6155 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.6084, allocations: 75.14 kB / 0.6156 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.6087, allocations: 90.17 kB / 0.6157 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.6087, allocations: 4 kB / 0.6157 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.6087, allocations: 0 / 0.6157 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.6087, allocations: 7.984 kB / 0.6157 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.6108, allocations: 1.276 MB / 0.6169 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6109, allocations: 3.938 kB / 0.6169 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.6115, allocations: 118.4 kB / 0.617 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.6115, allocations: 0 / 0.617 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.6116, allocations: 17.8 kB / 0.617 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6116, allocations: 8.062 kB / 0.6171 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6116, allocations: 0 / 0.6171 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.6137, allocations: 1.251 MB / 0.6183 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.614, allocations: 195.9 kB / 0.6185 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.389e-05/0.614, allocations: 14.5 kB / 0.6185 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/0.6146, allocations: 59.12 kB / 0.6185 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.6147, allocations: 41.12 kB / 0.6186 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.6148, allocations: 11.31 kB / 0.6186 GB, free: 11.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000649/0.6154, allocations: 459.8 kB / 0.619 GB, free: 11.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6154, allocations: 0 / 0.619 GB, free: 11.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009891/0.6164, allocations: 241.6 kB / 0.6193 GB, free: 10.81 MB / 426.7 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 (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.0003358/0.6168, allocations: 150.3 kB / 0.6194 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002202/0.619, allocations: 1.014 MB / 0.6204 GB, free: 9.875 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.619, allocations: 3.938 kB / 0.6204 GB, free: 9.871 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006447/0.6196, allocations: 305.8 kB / 0.6207 GB, free: 9.641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000924/0.6206, allocations: 171.8 kB / 0.6208 GB, free: 9.512 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.6233, allocations: 1.717 MB / 0.6225 GB, free: 7.875 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.6239, allocations: 0.9687 MB / 0.6235 GB, free: 6.883 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005814/0.6245, allocations: 152.8 kB / 0.6236 GB, free: 6.734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.6247, allocations: 51.42 kB / 0.6237 GB, free: 6.684 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6247, allocations: 0 / 0.6237 GB, free: 6.684 MB / 426.7 MB Notification: Performance of Templates: time 0.01499/0.6397, allocations: 7.368 MB / 0.6309 GB, free: 15.36 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches