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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008897/0.0008897, allocations: 92.39 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2876/0.2876, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 12 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3069, allocations: 61.9 MB / 0.5096 GB, free: 38.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.4118, allocations: 96.91 MB / 0.6042 GB, free: 14.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.4121, allocations: 71.97 kB / 0.6043 GB, free: 14.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07403/0.4862, allocations: 28 MB / 0.6316 GB, free: 2.074 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4862, allocations: 0 / 0.6316 GB, free: 2.074 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000121/0.4864, allocations: 20 kB / 0.6316 GB, free: 2.055 MB / 442.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.002688/0.489, allocations: 1.094 MB / 0.6327 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.4891, allocations: 8.031 kB / 0.6327 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.4894, allocations: 94.92 kB / 0.6328 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.4907, allocations: 0.5858 MB / 0.6334 GB, free: 180 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.4907, allocations: 37 kB / 0.6334 GB, free: 144 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.485e-05/0.4908, allocations: 56 kB / 0.6334 GB, free: 88 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.4919, allocations: 0.6213 MB / 0.6341 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.4919, allocations: 11.92 kB / 0.6341 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.492, allocations: 20 kB / 0.6341 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.492, allocations: 15.95 kB / 0.6341 GB, free: 15.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000985/0.493, allocations: 0.4967 MB / 0.6346 GB, free: 14.87 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/0.4964, allocations: 2.694 MB / 0.6372 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.4976, allocations: 0.5898 MB / 0.6378 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.4976, allocations: 4.062 kB / 0.6378 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.4976, allocations: 42.59 kB / 0.6378 GB, free: 11.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.4976, allocations: 0 / 0.6378 GB, free: 11.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.002306/0.5, allocations: 1.198 MB / 0.639 GB, free: 10.19 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.5, allocations: 144.4 kB / 0.6391 GB, free: 10.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.5008, allocations: 0.5739 MB / 0.6397 GB, free: 9.434 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.5008, allocations: 37.7 kB / 0.6397 GB, free: 9.391 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.5011, allocations: 356 kB / 0.6401 GB, free: 9.035 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.5012, allocations: 173.5 kB / 0.6402 GB, free: 8.863 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.5013, allocations: 16 kB / 0.6403 GB, free: 8.848 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5014, allocations: 326 kB / 0.6406 GB, free: 8.523 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/0.502, allocations: 289.1 kB / 0.6408 GB, free: 8.238 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006811/0.5027, allocations: 454 kB / 0.6413 GB, free: 7.727 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.5033, allocations: 331.3 kB / 0.6416 GB, free: 7.406 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5033, allocations: 4 kB / 0.6416 GB, free: 7.402 MB / 458.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001576/0.5049, allocations: 0.8383 MB / 0.6424 GB, free: 6.559 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005456/0.5055, allocations: 1.753 MB / 0.6441 GB, free: 4.672 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.5055, allocations: 4 kB / 0.6441 GB, free: 4.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.5055, allocations: 8 kB / 0.6441 GB, free: 4.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.5062, allocations: 155.8 kB / 0.6443 GB, free: 4.508 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.5062, allocations: 19.92 kB / 0.6443 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.5068, allocations: 91.62 kB / 0.6444 GB, free: 4.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.5068, allocations: 20 kB / 0.6444 GB, free: 4.379 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.5068, allocations: 9.719 kB / 0.6444 GB, free: 4.371 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/0.5081, allocations: 0.718 MB / 0.6451 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5082, allocations: 4.531 kB / 0.6451 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.5082, allocations: 11.95 kB / 0.6451 GB, free: 3.637 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/0.5088, allocations: 155.8 kB / 0.6453 GB, free: 3.484 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.5088, allocations: 11.94 kB / 0.6453 GB, free: 3.473 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.5094, allocations: 91.53 kB / 0.6454 GB, free: 3.383 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.5094, allocations: 24 kB / 0.6454 GB, free: 3.359 MB / 458.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.0003914/0.5098, allocations: 294.3 kB / 0.6457 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.51, allocations: 71.16 kB / 0.6458 GB, free: 2.992 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.5102, allocations: 82.22 kB / 0.6458 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.5102, allocations: 19.95 kB / 0.6459 GB, free: 2.891 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5102, allocations: 0 / 0.6459 GB, free: 2.891 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.5102, allocations: 3.984 kB / 0.6459 GB, free: 2.887 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.5115, allocations: 0.8414 MB / 0.6467 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5115, allocations: 0 / 0.6467 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.5122, allocations: 119.9 kB / 0.6468 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.5122, allocations: 7.891 kB / 0.6468 GB, free: 1.863 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.5123, allocations: 16 kB / 0.6468 GB, free: 1.848 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.5123, allocations: 3.984 kB / 0.6468 GB, free: 1.844 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5123, allocations: 8 kB / 0.6468 GB, free: 1.836 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.5142, allocations: 1.238 MB / 0.648 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.5145, allocations: 192.2 kB / 0.6482 GB, free: 372 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-05/0.5146, allocations: 15.98 kB / 0.6482 GB, free: 356 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/0.5152, allocations: 63.94 kB / 0.6483 GB, free: 292 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.5153, allocations: 31.95 kB / 0.6483 GB, free: 260 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.5153, allocations: 15.98 kB / 0.6483 GB, free: 244 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006568/0.516, allocations: 459 kB / 0.6488 GB, free: 15.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.516, allocations: 0 / 0.6488 GB, free: 15.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008175/0.5168, allocations: 204 kB / 0.649 GB, free: 15.6 MB / 474.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.0001694/0.517, allocations: 119.2 kB / 0.6491 GB, free: 15.47 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002073/0.5191, allocations: 1.024 MB / 0.6501 GB, free: 14.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5191, allocations: 0 / 0.6501 GB, free: 14.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000603/0.5197, allocations: 304.6 kB / 0.6504 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008188/0.5205, allocations: 177 kB / 0.6506 GB, free: 13.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.5231, allocations: 1.706 MB / 0.6522 GB, free: 12.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.5237, allocations: 0.9653 MB / 0.6532 GB, free: 11.24 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005428/0.5242, allocations: 156.7 kB / 0.6533 GB, free: 11.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.5244, allocations: 43.38 kB / 0.6534 GB, free: 11.05 MB / 474.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5244, allocations: 0 / 0.6534 GB, free: 11.05 MB / 474.7 MB Notification: Performance of Templates: time 0.01264/0.5371, allocations: 6.68 MB / 0.6599 GB, free: 4.438 MB / 474.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches