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.001097/0.001101, allocations: 178 kB / 18.09 MB, free: 3.75 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.16/1.16, allocations: 223.3 MB / 242.1 MB, free: 11.74 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.0007436/0.0007436, allocations: 93.23 kB / 293.3 MB, free: 10.8 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.2594/0.2594, allocations: 44.14 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2372, allocations: 61.89 MB / 0.5107 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09485/0.3321, allocations: 96.97 MB / 0.6054 GB, free: 14.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.3323, allocations: 71.94 kB / 0.6055 GB, free: 14.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0733/0.4056, allocations: 27.99 MB / 0.6328 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4057, allocations: 0 / 0.6328 GB, free: 1.949 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.54e-05/0.4058, allocations: 27.92 kB / 0.6329 GB, free: 1.922 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.00212/0.4079, allocations: 1.082 MB / 0.6339 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4079, allocations: 8.031 kB / 0.6339 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.4081, allocations: 95.91 kB / 0.634 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.4092, allocations: 0.6061 MB / 0.6346 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.4093, allocations: 37.38 kB / 0.6346 GB, free: 0 / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.4094, allocations: 52.42 kB / 0.6347 GB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.4104, allocations: 0.6374 MB / 0.6353 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.4105, allocations: 4.172 kB / 0.6353 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.4105, allocations: 27.94 kB / 0.6353 GB, free: 15.22 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.4105, allocations: 8 kB / 0.6353 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009983/0.4115, allocations: 0.4923 MB / 0.6358 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003241/0.4148, allocations: 2.702 MB / 0.6385 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009944/0.4158, allocations: 0.5881 MB / 0.639 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.4163, allocations: 274.5 kB / 0.6393 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.4164, allocations: 4 kB / 0.6393 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.4164, allocations: 38.56 kB / 0.6393 GB, free: 10.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.4164, allocations: 4 kB / 0.6393 GB, free: 10.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.002203/0.4186, allocations: 1.204 MB / 0.6405 GB, free: 9.758 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.4187, allocations: 140.5 kB / 0.6407 GB, free: 9.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007613/0.4195, allocations: 0.649 MB / 0.6413 GB, free: 8.934 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.4195, allocations: 33.7 kB / 0.6413 GB, free: 8.895 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.4197, allocations: 360 kB / 0.6417 GB, free: 8.539 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.4199, allocations: 173.5 kB / 0.6418 GB, free: 8.367 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.4199, allocations: 12 kB / 0.6418 GB, free: 8.355 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.42, allocations: 337.9 kB / 0.6422 GB, free: 8.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.4206, allocations: 289.1 kB / 0.6424 GB, free: 7.734 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.4213, allocations: 453.4 kB / 0.6429 GB, free: 7.227 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.4225, allocations: 0.7127 MB / 0.6436 GB, free: 6.457 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4225, allocations: 0 / 0.6436 GB, free: 6.457 MB / 458.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001488/0.424, allocations: 0.8454 MB / 0.6444 GB, free: 5.605 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.4241, allocations: 217.8 kB / 0.6446 GB, free: 5.328 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4241, allocations: 4.047 kB / 0.6446 GB, free: 5.324 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4242, allocations: 15.98 kB / 0.6446 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/0.4248, allocations: 167.7 kB / 0.6448 GB, free: 5.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.4248, allocations: 4 kB / 0.6448 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.4253, allocations: 91.62 kB / 0.6449 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.4254, allocations: 24 kB / 0.6449 GB, free: 5.027 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/0.4254, allocations: 4 kB / 0.6449 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00127/0.4266, allocations: 0.7177 MB / 0.6456 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4267, allocations: 8 kB / 0.6456 GB, free: 4.297 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.4267, allocations: 4 kB / 0.6456 GB, free: 4.293 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.4272, allocations: 156.3 kB / 0.6458 GB, free: 4.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.4273, allocations: 15.92 kB / 0.6458 GB, free: 4.125 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.4277, allocations: 91.53 kB / 0.6459 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.4278, allocations: 24 kB / 0.6459 GB, free: 4.012 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.0002816/0.4281, allocations: 290.2 kB / 0.6462 GB, free: 3.719 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.4282, allocations: 75.16 kB / 0.6462 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.4284, allocations: 94.2 kB / 0.6463 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4284, allocations: 4 kB / 0.6463 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4284, allocations: 0 / 0.6463 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4284, allocations: 8 kB / 0.6463 GB, free: 3.535 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.4295, allocations: 0.8452 MB / 0.6472 GB, free: 2.633 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4296, allocations: 7.875 kB / 0.6472 GB, free: 2.625 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/0.4302, allocations: 115.9 kB / 0.6473 GB, free: 2.512 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.4302, allocations: 4 kB / 0.6473 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.4302, allocations: 15.98 kB / 0.6473 GB, free: 2.492 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4302, allocations: 4 kB / 0.6473 GB, free: 2.488 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4302, allocations: 3.938 kB / 0.6473 GB, free: 2.484 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.4321, allocations: 1.209 MB / 0.6485 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.4323, allocations: 192.2 kB / 0.6487 GB, free: 1.055 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.4324, allocations: 23.98 kB / 0.6487 GB, free: 1.031 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.4329, allocations: 55.94 kB / 0.6487 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.433, allocations: 47.88 kB / 0.6488 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.4331, allocations: 12 kB / 0.6488 GB, free: 0.918 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005675/0.4336, allocations: 455 kB / 0.6492 GB, free: 488 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4336, allocations: 0 / 0.6492 GB, free: 488 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007127/0.4344, allocations: 208 kB / 0.6494 GB, free: 280 kB / 458.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.000148/0.4345, allocations: 119.1 kB / 0.6495 GB, free: 152 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.4365, allocations: 1.025 MB / 0.6505 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4365, allocations: 0 / 0.6505 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005774/0.4371, allocations: 304.6 kB / 0.6508 GB, free: 14.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009947/0.4381, allocations: 174.6 kB / 0.651 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.4405, allocations: 1.719 MB / 0.6527 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.4409, allocations: 0.9497 MB / 0.6536 GB, free: 11.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005354/0.4415, allocations: 148.8 kB / 0.6538 GB, free: 11.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.4416, allocations: 43.44 kB / 0.6538 GB, free: 11.74 MB / 474.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4416, allocations: 0 / 0.6538 GB, free: 11.74 MB / 474.7 MB Notification: Performance of Templates: time 0.01151/0.4532, allocations: 6.773 MB / 0.6604 GB, free: 5.039 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/jenkins1/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