Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001642/0.001642, allocations: 202.4 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 226.5 MB / 243.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007901/0.0007899, allocations: 105.2 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3105/0.3105, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.000292, allocations: 11.98 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2767, allocations: 62.96 MB / 0.5159 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.002595/0.2793, allocations: 2.837 MB / 0.5186 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.2818, allocations: 1.505 MB / 0.5201 GB, free: 34.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.2822, allocations: 22.12 kB / 0.5201 GB, free: 34.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.2827, allocations: 107.1 kB / 0.5202 GB, free: 34.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.2831, allocations: 153.3 kB / 0.5204 GB, free: 33.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009482/0.284, allocations: 424.8 kB / 0.5208 GB, free: 33.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006996/0.2847, allocations: 0.7921 MB / 0.5216 GB, free: 33.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.2851, allocations: 223.4 kB / 0.5218 GB, free: 33.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.2854, allocations: 288 kB / 0.522 GB, free: 33.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.2858, allocations: 325.9 kB / 0.5224 GB, free: 33.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.2859, allocations: 23.69 kB / 0.5224 GB, free: 33.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.934e-05/0.286, allocations: 22.78 kB / 0.5224 GB, free: 33.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.2861, allocations: 151 kB / 0.5225 GB, free: 32.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.2863, allocations: 295.9 kB / 0.5228 GB, free: 32.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.2867, allocations: 0.5361 MB / 0.5233 GB, free: 32.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2867, allocations: 0 / 0.5233 GB, free: 32.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2867, allocations: 0 / 0.5233 GB, free: 32.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.2867, allocations: 0 / 0.5233 GB, free: 32.63 MB / 378.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.00178/0.2885, allocations: 1.048 MB / 0.5244 GB, free: 31.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2886, allocations: 8.844 kB / 0.5244 GB, free: 31.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.2888, allocations: 105.9 kB / 0.5245 GB, free: 31.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007214/0.2895, allocations: 0.5589 MB / 0.525 GB, free: 31.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.2895, allocations: 41.78 kB / 0.5251 GB, free: 31.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/0.2896, allocations: 57.58 kB / 0.5251 GB, free: 31.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000975/0.2906, allocations: 0.6285 MB / 0.5257 GB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.2906, allocations: 10.88 kB / 0.5257 GB, free: 31.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.2907, allocations: 17.84 kB / 0.5258 GB, free: 31.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2907, allocations: 10.72 kB / 0.5258 GB, free: 31.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009626/0.2917, allocations: 499.9 kB / 0.5263 GB, free: 30.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.2947, allocations: 2.682 MB / 0.5289 GB, free: 29.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009646/0.2957, allocations: 0.5791 MB / 0.5294 GB, free: 28.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.2962, allocations: 274 kB / 0.5297 GB, free: 28.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/0.2962, allocations: 9.625 kB / 0.5297 GB, free: 28.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.2962, allocations: 48.61 kB / 0.5298 GB, free: 28.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.305e-06/0.2963, allocations: 0 / 0.5298 GB, free: 28.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.00222/0.2985, allocations: 1.211 MB / 0.5309 GB, free: 28.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.2985, allocations: 142.8 kB / 0.5311 GB, free: 28.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006739/0.2992, allocations: 0.6455 MB / 0.5317 GB, free: 27.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.2993, allocations: 38.86 kB / 0.5317 GB, free: 27.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.2994, allocations: 350 kB / 0.5321 GB, free: 27.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.634e-05/0.2995, allocations: 179.2 kB / 0.5322 GB, free: 27.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.2996, allocations: 10.91 kB / 0.5323 GB, free: 27.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.2996, allocations: 330.1 kB / 0.5326 GB, free: 26.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005521/0.3002, allocations: 292.7 kB / 0.5328 GB, free: 26.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.3008, allocations: 444 kB / 0.5333 GB, free: 26.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.3019, allocations: 0.7173 MB / 0.534 GB, free: 26.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3019, allocations: 3 kB / 0.534 GB, free: 26.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001424/0.3034, allocations: 0.8322 MB / 0.5348 GB, free: 25.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.506e-05/0.3034, allocations: 215.7 kB / 0.535 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3035, allocations: 9.25 kB / 0.535 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3035, allocations: 11.81 kB / 0.535 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.3041, allocations: 164.9 kB / 0.5352 GB, free: 25.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.3041, allocations: 15.67 kB / 0.5352 GB, free: 25.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.3046, allocations: 87.06 kB / 0.5353 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.3047, allocations: 22 kB / 0.5353 GB, free: 25.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.16e-06/0.3047, allocations: 3.125 kB / 0.5353 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001214/0.3059, allocations: 0.716 MB / 0.536 GB, free: 25.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3059, allocations: 5.438 kB / 0.536 GB, free: 25.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.493e-06/0.3059, allocations: 8.094 kB / 0.536 GB, free: 25.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.3065, allocations: 159.6 kB / 0.5362 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3065, allocations: 11.33 kB / 0.5362 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.307, allocations: 82.23 kB / 0.5362 GB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.307, allocations: 26.09 kB / 0.5363 GB, free: 25.34 MB / 378.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.0002488/0.3073, allocations: 291.6 kB / 0.5366 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.3074, allocations: 74.81 kB / 0.5366 GB, free: 25.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.3076, allocations: 86.09 kB / 0.5367 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.3076, allocations: 4.625 kB / 0.5367 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.3076, allocations: 0 / 0.5367 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3076, allocations: 9.5 kB / 0.5367 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3087, allocations: 0.8649 MB / 0.5376 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3087, allocations: 3.234 kB / 0.5376 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/0.3093, allocations: 114.9 kB / 0.5377 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3093, allocations: 3.75 kB / 0.5377 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.3094, allocations: 11 kB / 0.5377 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.3094, allocations: 14.8 kB / 0.5377 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3094, allocations: 3.938 kB / 0.5377 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.3113, allocations: 1.201 MB / 0.5389 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.3115, allocations: 195.8 kB / 0.5391 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.484e-05/0.3116, allocations: 16.75 kB / 0.5391 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.3121, allocations: 62.42 kB / 0.5391 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.3122, allocations: 36.77 kB / 0.5392 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.3123, allocations: 12.88 kB / 0.5392 GB, free: 23.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005942/0.3129, allocations: 459.5 kB / 0.5396 GB, free: 23.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3129, allocations: 0 / 0.5396 GB, free: 23.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007744/0.3137, allocations: 190.6 kB / 0.5398 GB, free: 23.46 MB / 378.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.0001156/0.3138, allocations: 114.2 kB / 0.5399 GB, free: 23.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.3159, allocations: 1.011 MB / 0.5409 GB, free: 23.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3159, allocations: 1.094 kB / 0.5409 GB, free: 23.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006896/0.3166, allocations: 307.4 kB / 0.5412 GB, free: 23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.3178, allocations: 172.7 kB / 0.5414 GB, free: 22.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.3203, allocations: 1.753 MB / 0.5431 GB, free: 21.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.3207, allocations: 0.9499 MB / 0.544 GB, free: 21.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.3209, allocations: 51.7 kB / 0.5441 GB, free: 21.23 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3209, allocations: 3.938 kB / 0.5441 GB, free: 21.22 MB / 378.7 MB Notification: Performance of Templates: time 0.01524/0.3362, allocations: 8.618 MB / 0.5525 GB, free: 18.38 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches