Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.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,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") translateModel(ModelicaTest.Blocks.Continuous,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008305/0.0008305, allocations: 96.75 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.0008351/0.0008352, allocations: 175.5 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.179/1.179, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.2902/0.2902, allocations: 43.55 MB / 314.5 MB, free: 9.051 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.0004525/0.0004525, allocations: 12 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.08637, allocations: 58.85 MB / 442.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.002757/0.08916, allocations: 2.822 MB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.09119, allocations: 1.502 MB / 447.1 MB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.09142, allocations: 19.88 kB / 447.1 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.09173, allocations: 91.33 kB / 447.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.0921, allocations: 195.4 kB / 447.4 MB, free: 8.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007747/0.09288, allocations: 415.2 kB / 447.8 MB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006357/0.09353, allocations: 0.5812 MB / 448.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.0938, allocations: 177.2 kB / 448.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.09415, allocations: 310.7 kB / 448.8 MB, free: 7.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.09448, allocations: 318.4 kB / 449.1 MB, free: 6.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.09455, allocations: 24 kB / 449.2 MB, free: 6.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.485e-05/0.09461, allocations: 20 kB / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.09476, allocations: 151.4 kB / 449.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.943e-05/0.09486, allocations: 133.3 kB / 449.5 MB, free: 6.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.09525, allocations: 0.5339 MB / 450 MB, free: 6.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.09526, allocations: 0 / 450 MB, free: 6.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09527, allocations: 0 / 450 MB, free: 6.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.09528, allocations: 0 / 450 MB, free: 6.016 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.0018/0.09709, allocations: 1.067 MB / 451.1 MB, free: 4.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.09712, allocations: 12.03 kB / 451.1 MB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.09724, allocations: 94.83 kB / 451.2 MB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000799/0.09805, allocations: 0.5344 MB / 451.7 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.09809, allocations: 37 kB / 451.7 MB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/0.09818, allocations: 55.91 kB / 451.8 MB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.09916, allocations: 0.6251 MB / 452.4 MB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.09918, allocations: 0 / 452.4 MB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.09923, allocations: 20 kB / 452.4 MB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.09925, allocations: 12 kB / 452.4 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.1003, allocations: 0.4977 MB / 452.9 MB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.1034, allocations: 2.686 MB / 455.6 MB, free: 124 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1469/0.2504, allocations: 0.5871 MB / 456.2 MB, free: 46.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.2505, allocations: 7.172 kB / 456.2 MB, free: 46.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.2505, allocations: 41.06 kB / 456.3 MB, free: 46.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.985e-06/0.2505, allocations: 0 / 456.3 MB, free: 46.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002345/0.2529, allocations: 1.201 MB / 457.5 MB, free: 45.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.2529, allocations: 142.1 kB / 457.6 MB, free: 45.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/0.2536, allocations: 0.651 MB / 458.3 MB, free: 45.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.2537, allocations: 36.36 kB / 458.3 MB, free: 45.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.2539, allocations: 367.7 kB / 458.7 MB, free: 45.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.254, allocations: 168.8 kB / 458.8 MB, free: 45.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.254, allocations: 12.44 kB / 458.8 MB, free: 45.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.2541, allocations: 331.7 kB / 459.2 MB, free: 45.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/0.2547, allocations: 283.5 kB / 459.4 MB, free: 45.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.2553, allocations: 446.5 kB / 459.9 MB, free: 44.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/0.2559, allocations: 329.3 kB / 460.2 MB, free: 44.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2559, allocations: 6.469 kB / 460.2 MB, free: 44.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001381/0.2573, allocations: 0.8323 MB / 461 MB, free: 44.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002482/0.2575, allocations: 1.749 MB / 462.8 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2575, allocations: 6.969 kB / 462.8 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.2576, allocations: 12.89 kB / 462.8 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.2582, allocations: 152.7 kB / 462.9 MB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.2582, allocations: 16.31 kB / 463 MB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004906/0.2587, allocations: 87.2 kB / 463 MB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.2588, allocations: 24.69 kB / 463.1 MB, free: 42.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/0.2588, allocations: 5.094 kB / 463.1 MB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001195/0.26, allocations: 0.7169 MB / 463.8 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.26, allocations: 5.594 kB / 463.8 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.26, allocations: 12.73 kB / 463.8 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.2606, allocations: 158.9 kB / 464 MB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.2606, allocations: 13 kB / 464 MB, free: 42.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.2611, allocations: 88.7 kB / 464.1 MB, free: 42.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.2611, allocations: 20.22 kB / 464.1 MB, free: 42.87 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 (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.0002252/0.2613, allocations: 284.2 kB / 464.4 MB, free: 42.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.2615, allocations: 72.41 kB / 464.4 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.2616, allocations: 96.39 kB / 464.5 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.2616, allocations: 6.562 kB / 464.5 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.2616, allocations: 3.422 kB / 464.5 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2617, allocations: 6.75 kB / 464.5 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.2628, allocations: 0.8566 MB / 465.4 MB, free: 42.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2628, allocations: 3.5 kB / 465.4 MB, free: 42.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.2634, allocations: 121.6 kB / 465.5 MB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2634, allocations: 2.875 kB / 465.5 MB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.2635, allocations: 17.31 kB / 465.5 MB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2635, allocations: 0 / 465.5 MB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2635, allocations: 2.781 kB / 465.5 MB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.2652, allocations: 1.248 MB / 466.8 MB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.2654, allocations: 192.8 kB / 467 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.2655, allocations: 19.41 kB / 467 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/0.2661, allocations: 58.59 kB / 467.1 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.2662, allocations: 35.89 kB / 467.1 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.2662, allocations: 13.16 kB / 467.1 MB, free: 41.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004979/0.2667, allocations: 460 kB / 467.6 MB, free: 41.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2667, allocations: 0 / 467.6 MB, free: 41.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000711/0.2674, allocations: 192 kB / 467.7 MB, free: 41.66 MB / 382.1 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.000116/0.2676, allocations: 123.7 kB / 467.9 MB, free: 41.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.2694, allocations: 1.008 MB / 468.9 MB, free: 41.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2694, allocations: 0 / 468.9 MB, free: 41.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005783/0.27, allocations: 310.8 kB / 469.2 MB, free: 41.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007902/0.2708, allocations: 169.9 kB / 469.3 MB, free: 41.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.2729, allocations: 1.704 MB / 471 MB, free: 40.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.2732, allocations: 0.9741 MB / 472 MB, free: 39.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004339/0.2737, allocations: 153 kB / 472.2 MB, free: 39.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.2738, allocations: 45.84 kB / 472.2 MB, free: 39.75 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2738, allocations: 7.281 kB / 472.2 MB, free: 39.74 MB / 382.1 MB Notification: Performance of Templates: time 0.01009/0.2839, allocations: 6.559 MB / 478.8 MB, free: 39.31 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous/Continuous.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches