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.00147/0.001469, allocations: 173.1 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009071/0.000907, allocations: 100.5 kB / 281.6 MB, free: 5.324 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.1812/0.1812, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.675e-05/1.666e-05, allocations: 224 / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 61.92 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3848/0.5027, allocations: 96.18 MB / 0.5886 GB, free: 332 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.5029, allocations: 67.97 kB / 0.5887 GB, free: 264 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08038/0.5833, allocations: 27.77 MB / 0.6158 GB, free: 4.418 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5834, allocations: 4 kB / 0.6158 GB, free: 4.414 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001003/0.5835, allocations: 23.94 kB / 0.6158 GB, free: 4.391 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.001968/0.5855, allocations: 0.9389 MB / 0.6167 GB, free: 3.406 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.5855, allocations: 15.98 kB / 0.6167 GB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.5858, allocations: 98.91 kB / 0.6168 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.587, allocations: 0.555 MB / 0.6174 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.587, allocations: 16 kB / 0.6174 GB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.5872, allocations: 32 kB / 0.6174 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006886/0.5879, allocations: 330.5 kB / 0.6177 GB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/0.5887, allocations: 0.4939 MB / 0.6182 GB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.5887, allocations: 3.938 kB / 0.6182 GB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/0.5888, allocations: 7.953 kB / 0.6182 GB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.5888, allocations: 12 kB / 0.6182 GB, free: 1.754 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004059/0.5929, allocations: 2.608 MB / 0.6208 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/0.5937, allocations: 457.4 kB / 0.6212 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.594, allocations: 182.6 kB / 0.6214 GB, free: 14.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/0.594, allocations: 7.984 kB / 0.6214 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.5941, allocations: 42.59 kB / 0.6214 GB, free: 14.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.667e-06/0.5941, allocations: 0.75 kB / 0.6214 GB, free: 14.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.001485/0.5956, allocations: 0.769 MB / 0.6222 GB, free: 13.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.5957, allocations: 136.5 kB / 0.6223 GB, free: 13.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/0.5963, allocations: 499.8 kB / 0.6228 GB, free: 12.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.5964, allocations: 25.7 kB / 0.6228 GB, free: 12.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.5967, allocations: 352.6 kB / 0.6232 GB, free: 12.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.5969, allocations: 165.6 kB / 0.6233 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.5969, allocations: 4.094 kB / 0.6233 GB, free: 12.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.5971, allocations: 390.7 kB / 0.6237 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.5975, allocations: 193.5 kB / 0.6239 GB, free: 11.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/0.5979, allocations: 353.8 kB / 0.6242 GB, free: 11.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.5983, allocations: 229.1 kB / 0.6244 GB, free: 11.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5983, allocations: 4 kB / 0.6244 GB, free: 11.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000957/0.5992, allocations: 0.6232 MB / 0.625 GB, free: 10.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006808/0.5999, allocations: 1.747 MB / 0.6267 GB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.5999, allocations: 4 kB / 0.6268 GB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.6, allocations: 12 kB / 0.6268 GB, free: 8.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.6007, allocations: 155.8 kB / 0.6269 GB, free: 8.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.6007, allocations: 15.92 kB / 0.6269 GB, free: 8.434 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/0.6013, allocations: 83.56 kB / 0.627 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.6014, allocations: 24 kB / 0.627 GB, free: 8.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.6014, allocations: 4 kB / 0.627 GB, free: 8.324 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008161/0.6022, allocations: 0.5065 MB / 0.6275 GB, free: 7.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.6022, allocations: 12 kB / 0.6275 GB, free: 7.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.6022, allocations: 8 kB / 0.6275 GB, free: 7.801 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.6029, allocations: 164.2 kB / 0.6277 GB, free: 7.641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.6029, allocations: 11.95 kB / 0.6277 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006416/0.6035, allocations: 71.64 kB / 0.6278 GB, free: 7.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/0.6036, allocations: 31.98 kB / 0.6278 GB, free: 7.527 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 () * 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.0001883/0.6038, allocations: 116.8 kB / 0.6279 GB, free: 7.406 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.604, allocations: 71.06 kB / 0.628 GB, free: 7.336 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.6043, allocations: 81.7 kB / 0.6281 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.6043, allocations: 4 kB / 0.6281 GB, free: 7.246 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.6043, allocations: 3.953 kB / 0.6281 GB, free: 7.242 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.6043, allocations: 7.984 kB / 0.6281 GB, free: 7.234 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.6056, allocations: 0.7445 MB / 0.6288 GB, free: 6.441 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6056, allocations: 0 / 0.6288 GB, free: 6.441 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006684/0.6063, allocations: 119.9 kB / 0.6289 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.6063, allocations: 0 / 0.6289 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.6064, allocations: 15.94 kB / 0.6289 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.6064, allocations: 3.953 kB / 0.6289 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6064, allocations: 0 / 0.6289 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.6077, allocations: 0.9561 MB / 0.6299 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.608, allocations: 196.2 kB / 0.6301 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.6081, allocations: 8 kB / 0.6301 GB, free: 5.102 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/0.6087, allocations: 59.94 kB / 0.6301 GB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.6089, allocations: 43.95 kB / 0.6302 GB, free: 5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.6089, allocations: 12 kB / 0.6302 GB, free: 4.988 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005305/0.6095, allocations: 375.2 kB / 0.6305 GB, free: 4.629 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6095, allocations: 3.938 kB / 0.6305 GB, free: 4.625 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001038/0.6105, allocations: 171.9 kB / 0.6307 GB, free: 4.457 MB / 442.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 () * 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.0002599/0.6108, allocations: 123 kB / 0.6308 GB, free: 4.328 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.6122, allocations: 0.7601 MB / 0.6316 GB, free: 3.566 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.6122, allocations: 0 / 0.6316 GB, free: 3.566 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.6125, allocations: 215.8 kB / 0.6318 GB, free: 3.355 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6135, allocations: 158.1 kB / 0.6319 GB, free: 3.203 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.6158, allocations: 1.177 MB / 0.6331 GB, free: 1.988 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.6164, allocations: 0.9627 MB / 0.634 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007679/0.6172, allocations: 203 kB / 0.6342 GB, free: 0.793 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.6173, allocations: 35.44 kB / 0.6342 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6173, allocations: 0 / 0.6342 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of Templates: time 0.02018/0.6375, allocations: 7.353 MB / 0.6414 GB, free: 9.465 MB / 458.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