Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008967/0.0008967, 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.0009181/0.0009182, allocations: 171.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.241/1.241, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.2841/0.2841, allocations: 43.55 MB / 314.5 MB, free: 9.016 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.0004659/0.000466, allocations: 12 kB / 383.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08913/0.08961, allocations: 58.86 MB / 442.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003198/0.09284, allocations: 2.985 MB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.09506, allocations: 1.341 MB / 447.1 MB, free: 8.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.09546, allocations: 27.81 kB / 447.1 MB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.09559, allocations: 47.39 kB / 447.1 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005153/0.09611, allocations: 159.4 kB / 447.3 MB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009607/0.09708, allocations: 487.1 kB / 447.8 MB, free: 8.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000838/0.09792, allocations: 0.5863 MB / 448.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.09827, allocations: 220.8 kB / 448.6 MB, free: 7.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004014/0.09868, allocations: 298.6 kB / 448.9 MB, free: 7.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.099, allocations: 282.3 kB / 449.1 MB, free: 6.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.982e-05/0.09908, allocations: 24 kB / 449.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-05/0.09914, allocations: 20 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.09924, allocations: 111.4 kB / 449.3 MB, free: 6.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.09935, allocations: 137.3 kB / 449.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.0998, allocations: 0.5727 MB / 450 MB, free: 6.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.09981, allocations: 0 / 450 MB, free: 6.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09982, allocations: 0 / 450 MB, free: 6.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.09984, allocations: 4 kB / 450 MB, free: 6 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001987/0.1018, allocations: 1.129 MB / 451.1 MB, free: 4.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.1019, allocations: 16.02 kB / 451.2 MB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.102, allocations: 94.83 kB / 451.2 MB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007541/0.1028, allocations: 0.5382 MB / 451.8 MB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.1028, allocations: 45 kB / 451.8 MB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.1029, allocations: 55.84 kB / 451.9 MB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.1043, allocations: 0.7501 MB / 452.6 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1043, allocations: 0 / 452.6 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/0.1044, allocations: 20 kB / 452.7 MB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1044, allocations: 12 kB / 452.7 MB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.1059, allocations: 0.6517 MB / 453.3 MB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/0.109, allocations: 2.337 MB / 455.7 MB, free: 124 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1529/0.2619, allocations: 0.8144 MB / 456.5 MB, free: 46.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-05/0.2619, allocations: 13.75 kB / 456.5 MB, free: 46.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.262, allocations: 41.53 kB / 456.5 MB, free: 46.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.262, allocations: 2.781 kB / 456.5 MB, free: 46.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004204/0.2662, allocations: 2.157 MB / 458.7 MB, free: 45.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.2662, allocations: 193.7 kB / 458.9 MB, free: 45.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.2667, allocations: 0.5713 MB / 459.4 MB, free: 45.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.2668, allocations: 38.89 kB / 459.5 MB, free: 45.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.267, allocations: 360.9 kB / 459.8 MB, free: 45.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.597e-05/0.267, allocations: 180.1 kB / 460 MB, free: 45.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.2671, allocations: 9.344 kB / 460 MB, free: 45.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.2671, allocations: 330.3 kB / 460.3 MB, free: 44.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007306/0.2679, allocations: 341.8 kB / 460.7 MB, free: 44.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000773/0.2686, allocations: 465.4 kB / 461.1 MB, free: 44.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/0.2694, allocations: 349.3 kB / 461.5 MB, free: 44.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2694, allocations: 2.594 kB / 461.5 MB, free: 44.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001712/0.2711, allocations: 0.8906 MB / 462.4 MB, free: 44.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.2713, allocations: 0.8765 MB / 463.2 MB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2713, allocations: 2.406 kB / 463.2 MB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2713, allocations: 5.406 kB / 463.2 MB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.2721, allocations: 223.1 kB / 463.5 MB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2721, allocations: 7.125 kB / 463.5 MB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.2726, allocations: 113.9 kB / 463.6 MB, free: 43.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.2727, allocations: 21.53 kB / 463.6 MB, free: 43.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.191e-06/0.2727, allocations: 2.969 kB / 463.6 MB, free: 43.66 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/0.2738, allocations: 0.6129 MB / 464.2 MB, free: 43.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2738, allocations: 5.844 kB / 464.2 MB, free: 43.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.2738, allocations: 5.75 kB / 464.2 MB, free: 43.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.2745, allocations: 180.9 kB / 464.4 MB, free: 43.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2745, allocations: 5.594 kB / 464.4 MB, free: 43.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.2749, allocations: 67.27 kB / 464.5 MB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.2749, allocations: 22.73 kB / 464.5 MB, free: 43.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002347/0.2752, allocations: 271.2 kB / 464.8 MB, free: 43.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.2753, allocations: 78.3 kB / 464.8 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.2754, allocations: 82.94 kB / 464.9 MB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.2754, allocations: 14.25 kB / 464.9 MB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2754, allocations: 0 / 464.9 MB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.2754, allocations: 3.422 kB / 464.9 MB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.2779, allocations: 1.548 MB / 466.5 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2779, allocations: 0 / 466.5 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.2786, allocations: 178.9 kB / 466.7 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2786, allocations: 7.062 kB / 466.7 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.2787, allocations: 15.31 kB / 466.7 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2787, allocations: 3.125 kB / 466.7 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2787, allocations: 0 / 466.7 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.2811, allocations: 1.435 MB / 468.1 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.2813, allocations: 193.3 kB / 468.3 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.377e-05/0.2814, allocations: 14.41 kB / 468.3 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005467/0.282, allocations: 104.5 kB / 468.4 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2821, allocations: 53.2 kB / 468.5 MB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.2821, allocations: 18.59 kB / 468.5 MB, free: 42.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003461/0.2825, allocations: 402.1 kB / 468.9 MB, free: 42.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2825, allocations: 0 / 468.9 MB, free: 42.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006338/0.2831, allocations: 187.4 kB / 469.1 MB, free: 42.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.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 (50): * Single equations (assignments): 50 * 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.000102/0.2832, allocations: 116.5 kB / 469.2 MB, free: 42.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002212/0.2855, allocations: 1.095 MB / 470.3 MB, free: 42.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2855, allocations: 0 / 470.3 MB, free: 42.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008125/0.2863, allocations: 410.1 kB / 470.7 MB, free: 41.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008128/0.2871, allocations: 169.2 kB / 470.8 MB, free: 41.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.29, allocations: 1.814 MB / 472.7 MB, free: 40.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.2902, allocations: 0.9385 MB / 473.6 MB, free: 40.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003577/0.2906, allocations: 97.62 kB / 473.7 MB, free: 40.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.2908, allocations: 59.97 kB / 473.8 MB, free: 40.23 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2908, allocations: 0 / 473.8 MB, free: 40.23 MB / 382.1 MB Notification: Performance of Templates: time 0.01131/0.3021, allocations: 7.679 MB / 481.4 MB, free: 39.69 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches