Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001452/0.001452, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.927/1.927, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001123/0.001123, allocations: 93.5 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5424/0.5424, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000728/0.0007282, allocations: 11.98 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1465, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4851/0.6317, allocations: 96.19 MB / 0.5727 GB, free: 6.371 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.6321, allocations: 67.97 kB / 0.5727 GB, free: 6.305 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1688/0.8009, allocations: 29.43 MB / 0.6015 GB, free: 8.852 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.801, allocations: 0 / 0.6015 GB, free: 8.852 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.763e-05/0.8011, allocations: 20 kB / 0.6015 GB, free: 8.832 MB / 426.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.003974/0.8051, allocations: 1.102 MB / 0.6026 GB, free: 7.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.8051, allocations: 8.031 kB / 0.6026 GB, free: 7.672 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.8055, allocations: 94.88 kB / 0.6027 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.8078, allocations: 0.6103 MB / 0.6033 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/0.8079, allocations: 44.89 kB / 0.6033 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.8081, allocations: 59.89 kB / 0.6034 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.81, allocations: 0.6096 MB / 0.6039 GB, free: 6.156 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.81, allocations: 3.938 kB / 0.604 GB, free: 6.152 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-05/0.8101, allocations: 24 kB / 0.604 GB, free: 6.129 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.8102, allocations: 12 kB / 0.604 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.8122, allocations: 485.8 kB / 0.6045 GB, free: 5.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006296/0.8185, allocations: 2.665 MB / 0.6071 GB, free: 2.875 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.8204, allocations: 0.5217 MB / 0.6076 GB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.448e-05/0.8205, allocations: 8.281 kB / 0.6076 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.8206, allocations: 42.73 kB / 0.6076 GB, free: 2.266 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 3.226e-06/0.8206, allocations: 0 / 0.6076 GB, free: 2.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.00459/0.8252, allocations: 1.176 MB / 0.6088 GB, free: 1.082 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.8253, allocations: 106.8 kB / 0.6089 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.8268, allocations: 0.5779 MB / 0.6094 GB, free: 376 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.827, allocations: 41.62 kB / 0.6095 GB, free: 328 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.8274, allocations: 367.4 kB / 0.6098 GB, free: 15.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.8276, allocations: 177.4 kB / 0.61 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.8277, allocations: 12 kB / 0.61 GB, free: 15.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.8279, allocations: 338.8 kB / 0.6103 GB, free: 15.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.8291, allocations: 281.1 kB / 0.6106 GB, free: 15.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.8306, allocations: 432.3 kB / 0.611 GB, free: 14.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.832, allocations: 324.5 kB / 0.6113 GB, free: 14.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.832, allocations: 4 kB / 0.6113 GB, free: 14.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003188/0.8352, allocations: 0.7704 MB / 0.6121 GB, free: 13.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000872/0.8361, allocations: 1.757 MB / 0.6138 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.8362, allocations: 4 kB / 0.6138 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.682e-05/0.8362, allocations: 12.7 kB / 0.6138 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.8384, allocations: 207.7 kB / 0.614 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-05/0.8385, allocations: 7.984 kB / 0.614 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.8397, allocations: 79.64 kB / 0.6141 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.84, allocations: 31.98 kB / 0.6141 GB, free: 11.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.84, allocations: 8 kB / 0.6141 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002941/0.8429, allocations: 0.715 MB / 0.6148 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.843, allocations: 7.984 kB / 0.6148 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.843, allocations: 16.47 kB / 0.6148 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.845, allocations: 203.8 kB / 0.615 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.8451, allocations: 8 kB / 0.615 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/0.8459, allocations: 75.56 kB / 0.6151 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.846, allocations: 31.98 kB / 0.6151 GB, free: 10.29 MB / 442.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.0006538/0.8467, allocations: 289.5 kB / 0.6154 GB, free: 9.996 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/0.847, allocations: 75.06 kB / 0.6155 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.8473, allocations: 90.97 kB / 0.6156 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.8474, allocations: 8 kB / 0.6156 GB, free: 9.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.8474, allocations: 3.938 kB / 0.6156 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.8474, allocations: 0 / 0.6156 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/0.8512, allocations: 1.279 MB / 0.6168 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.8513, allocations: 0 / 0.6168 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.8527, allocations: 111.9 kB / 0.6169 GB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/0.8528, allocations: 7.984 kB / 0.617 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.8529, allocations: 16 kB / 0.617 GB, free: 8.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/0.8529, allocations: 4 kB / 0.617 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8529, allocations: 0 / 0.617 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/0.857, allocations: 1.253 MB / 0.6182 GB, free: 7.035 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/0.8576, allocations: 196.2 kB / 0.6184 GB, free: 6.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.8578, allocations: 19.98 kB / 0.6184 GB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.8589, allocations: 47.95 kB / 0.6184 GB, free: 6.758 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003122/0.8593, allocations: 47.94 kB / 0.6185 GB, free: 6.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/0.8594, allocations: 11.98 kB / 0.6185 GB, free: 6.699 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001257/0.8607, allocations: 455 kB / 0.6189 GB, free: 6.262 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.8607, allocations: 7.938 kB / 0.6189 GB, free: 6.254 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001572/0.8623, allocations: 235.9 kB / 0.6192 GB, free: 6.023 MB / 442.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.000493/0.8628, allocations: 156.2 kB / 0.6193 GB, free: 5.863 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004332/0.8672, allocations: 1.01 MB / 0.6203 GB, free: 4.855 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.8672, allocations: 4.125 kB / 0.6203 GB, free: 4.852 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.8685, allocations: 309.2 kB / 0.6206 GB, free: 4.551 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.8702, allocations: 175.2 kB / 0.6208 GB, free: 4.383 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/0.8749, allocations: 1.769 MB / 0.6225 GB, free: 2.562 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/0.8757, allocations: 0.966 MB / 0.6234 GB, free: 1.566 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/0.8762, allocations: 55.44 kB / 0.6235 GB, free: 1.512 MB / 442.7 MB Notification: Performance of SimCode: time 1.743e-06/0.8762, allocations: 3.938 kB / 0.6235 GB, free: 1.508 MB / 442.7 MB Notification: Performance of Templates: time 0.02285/0.8991, allocations: 8.956 MB / 0.6322 GB, free: 8.598 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches