Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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_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_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 97.38 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009259/0.000926, allocations: 176.7 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2745/0.2745, allocations: 43.55 MB / 314.5 MB, free: 8.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004626, allocations: 16 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08915/0.08962, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004085/0.09376, allocations: 2.86 MB / 445.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.09687, allocations: 1.498 MB / 447.1 MB, free: 8.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.09722, allocations: 23.81 kB / 447.1 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.09761, allocations: 87.39 kB / 447.2 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.09804, allocations: 195.4 kB / 447.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009744/0.09903, allocations: 423.1 kB / 447.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007309/0.09977, allocations: 0.6046 MB / 448.4 MB, free: 7.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.1001, allocations: 177.2 kB / 448.6 MB, free: 7.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.1005, allocations: 322.7 kB / 448.9 MB, free: 7.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.1008, allocations: 326.4 kB / 449.2 MB, free: 6.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.874e-05/0.1009, allocations: 24 kB / 449.3 MB, free: 6.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.1011, allocations: 111.8 kB / 449.4 MB, free: 6.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.1012, allocations: 147.4 kB / 449.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.473e-05/0.1013, allocations: 129.3 kB / 449.6 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005155/0.1019, allocations: 0.6352 MB / 450.3 MB, free: 5.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1019, allocations: 0 / 450.3 MB, free: 5.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1019, allocations: 4 kB / 450.3 MB, free: 5.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.1019, allocations: 0 / 450.3 MB, free: 5.723 MB / 382.1 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.001927/0.1038, allocations: 1.067 MB / 451.3 MB, free: 4.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1039, allocations: 12.03 kB / 451.4 MB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.104, allocations: 94.83 kB / 451.4 MB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008186/0.1048, allocations: 0.5304 MB / 452 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.1049, allocations: 37 kB / 452 MB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/0.105, allocations: 55.98 kB / 452.1 MB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/0.106, allocations: 0.6368 MB / 452.7 MB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.106, allocations: 0 / 452.7 MB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.1061, allocations: 16 kB / 452.7 MB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1061, allocations: 12 kB / 452.7 MB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.1071, allocations: 0.4977 MB / 453.2 MB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1605/0.2676, allocations: 2.678 MB / 455.9 MB, free: 45.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2686, allocations: 0.5276 MB / 456.4 MB, free: 45.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.2687, allocations: 5.906 kB / 456.4 MB, free: 45.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.2687, allocations: 38.98 kB / 456.5 MB, free: 45.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.285e-06/0.2687, allocations: 3.031 kB / 456.5 MB, free: 45.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002218/0.2709, allocations: 1.223 MB / 457.7 MB, free: 45.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.271, allocations: 137.3 kB / 457.8 MB, free: 45.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006791/0.2717, allocations: 0.6511 MB / 458.5 MB, free: 45.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.2717, allocations: 36.39 kB / 458.5 MB, free: 45.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.2719, allocations: 358.9 kB / 458.9 MB, free: 44.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.583e-05/0.272, allocations: 180.1 kB / 459.1 MB, free: 44.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.2721, allocations: 18.88 kB / 459.1 MB, free: 44.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.2721, allocations: 329.9 kB / 459.4 MB, free: 44.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/0.2727, allocations: 294.7 kB / 459.7 MB, free: 44.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.2733, allocations: 460.2 kB / 460.1 MB, free: 44.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.2739, allocations: 336.2 kB / 460.5 MB, free: 44.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2739, allocations: 5.031 kB / 460.5 MB, free: 44.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001405/0.2753, allocations: 0.8731 MB / 461.3 MB, free: 44.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002283/0.2755, allocations: 1.743 MB / 463.1 MB, free: 42.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.2756, allocations: 6 kB / 463.1 MB, free: 42.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.2756, allocations: 8.625 kB / 463.1 MB, free: 42.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008437/0.2764, allocations: 207.1 kB / 463.3 MB, free: 42.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.2765, allocations: 13.06 kB / 463.3 MB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.2769, allocations: 92.88 kB / 463.4 MB, free: 42.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.277, allocations: 25.88 kB / 463.4 MB, free: 42.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.673e-06/0.277, allocations: 2.906 kB / 463.4 MB, free: 42.38 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001225/0.2782, allocations: 0.7395 MB / 464.2 MB, free: 42.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2783, allocations: 2.438 kB / 464.2 MB, free: 42.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.2783, allocations: 8.625 kB / 464.2 MB, free: 42.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007606/0.279, allocations: 200.5 kB / 464.4 MB, free: 42.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.2791, allocations: 16.62 kB / 464.4 MB, free: 42.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.2795, allocations: 80.97 kB / 464.5 MB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.2796, allocations: 24.84 kB / 464.5 MB, free: 42.3 MB / 382.1 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.0002974/0.2799, allocations: 296.3 kB / 464.8 MB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.28, allocations: 77.22 kB / 464.9 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.2802, allocations: 92.92 kB / 465 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.2802, allocations: 3.031 kB / 465 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.2802, allocations: 2.875 kB / 465 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2802, allocations: 3.422 kB / 465 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.282, allocations: 1.292 MB / 466.3 MB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.282, allocations: 3.5 kB / 466.3 MB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.2826, allocations: 125.5 kB / 466.4 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.2826, allocations: 3.438 kB / 466.4 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.2826, allocations: 16.59 kB / 466.4 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2827, allocations: 3.844 kB / 466.4 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2827, allocations: 0 / 466.4 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.2844, allocations: 1.282 MB / 467.7 MB, free: 41.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.2846, allocations: 195.7 kB / 467.9 MB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.759e-05/0.2847, allocations: 17.61 kB / 467.9 MB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.2852, allocations: 67.09 kB / 468 MB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.2853, allocations: 37.95 kB / 468 MB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.2853, allocations: 15.09 kB / 468 MB, free: 41.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005382/0.2859, allocations: 455.2 kB / 468.5 MB, free: 40.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.21e-07/0.2859, allocations: 0 / 468.5 MB, free: 40.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007932/0.2867, allocations: 226.5 kB / 468.7 MB, free: 40.93 MB / 382.1 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.0002353/0.2869, allocations: 136.7 kB / 468.8 MB, free: 40.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.2888, allocations: 1.056 MB / 469.9 MB, free: 40.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2888, allocations: 0 / 469.9 MB, free: 40.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005726/0.2894, allocations: 315.6 kB / 470.2 MB, free: 40.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007905/0.2902, allocations: 166.5 kB / 470.3 MB, free: 40.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.2922, allocations: 1.735 MB / 472.1 MB, free: 39.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.2925, allocations: 0.9716 MB / 473 MB, free: 38.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004372/0.2929, allocations: 147.3 kB / 473.2 MB, free: 38.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.2931, allocations: 47.72 kB / 473.2 MB, free: 38.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2931, allocations: 0 / 473.2 MB, free: 38.93 MB / 382.1 MB Notification: Performance of Templates: time 0.01088/0.304, allocations: 7.406 MB / 480.6 MB, free: 38.47 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/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_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches