Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008773/0.0008774, allocations: 180.6 kB / 16.08 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.6 MB / 222.4 MB, free: 13.68 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007204/0.0007204, allocations: 86.27 kB / 270.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1732/0.1732, allocations: 43.68 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 12 kB / 432.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08503/0.08532, allocations: 58.86 MB / 491.2 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001549/0.08691, allocations: 1.368 MB / 492.5 MB, free: 6.758 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00084/0.08776, allocations: 0.617 MB / 493.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.08785, allocations: 3.938 kB / 493.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.08788, allocations: 7.938 kB / 493.2 MB, free: 6.121 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.082e-05/0.08798, allocations: 11.86 kB / 493.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.08833, allocations: 123.8 kB / 493.3 MB, free: 5.988 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.0885, allocations: 147.7 kB / 493.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.08861, allocations: 33.31 kB / 493.5 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.08872, allocations: 63.69 kB / 493.5 MB, free: 5.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.762e-05/0.08882, allocations: 51.77 kB / 493.6 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.08885, allocations: 4 kB / 493.6 MB, free: 5.695 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.087e-05/0.08888, allocations: 8 kB / 493.6 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.08892, allocations: 35.89 kB / 493.6 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.08899, allocations: 77.36 kB / 493.7 MB, free: 5.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.08912, allocations: 127.5 kB / 493.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.08913, allocations: 0 / 493.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.08914, allocations: 3.938 kB / 493.8 MB, free: 5.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.08915, allocations: 0 / 493.8 MB, free: 5.441 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005488/0.08971, allocations: 443.1 kB / 494.3 MB, free: 4.961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.08974, allocations: 12.03 kB / 494.3 MB, free: 4.949 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.08979, allocations: 16.75 kB / 494.3 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.09001, allocations: 224 kB / 494.5 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.09003, allocations: 4.375 kB / 494.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.09006, allocations: 20.28 kB / 494.5 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.09045, allocations: 188.5 kB / 494.7 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.09047, allocations: 0 / 494.7 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.0905, allocations: 4 kB / 494.7 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.09051, allocations: 4 kB / 494.7 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.0909, allocations: 159.9 kB / 494.9 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.09165, allocations: 476.3 kB / 495.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.09224, allocations: 258.4 kB / 495.6 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.09246, allocations: 88.8 kB / 495.7 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.09248, allocations: 0 / 495.7 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.09251, allocations: 38.56 kB / 495.7 MB, free: 3.375 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.09252, allocations: 0 / 495.7 MB, free: 3.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.001371/0.0939, allocations: 0.6697 MB / 496.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.09396, allocations: 106.8 kB / 496.5 MB, free: 2.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.09409, allocations: 162.4 kB / 496.7 MB, free: 2.355 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.09412, allocations: 29.7 kB / 496.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.09418, allocations: 108 kB / 496.8 MB, free: 2.211 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.09423, allocations: 31.55 kB / 496.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.09424, allocations: 4.094 kB / 496.8 MB, free: 2.176 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.09434, allocations: 326.8 kB / 497.1 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.09456, allocations: 87.94 kB / 497.2 MB, free: 1.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.0948, allocations: 110.5 kB / 497.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.0952, allocations: 176.7 kB / 497.5 MB, free: 1.469 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.09521, allocations: 0 / 497.5 MB, free: 1.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004723/0.09569, allocations: 233.3 kB / 497.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/0.09575, allocations: 92.94 kB / 497.8 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.09576, allocations: 4 kB / 497.8 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.09577, allocations: 0 / 497.8 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.09597, allocations: 47.95 kB / 497.9 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.09598, allocations: 0 / 497.9 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.09613, allocations: 39.97 kB / 497.9 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.09615, allocations: 4 kB / 497.9 MB, free: 1.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-06/0.09616, allocations: 0 / 497.9 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002079/0.09637, allocations: 96.17 kB / 498 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.09638, allocations: 0.6406 kB / 498 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-06/0.09639, allocations: 3.938 kB / 498 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.0965, allocations: 27.98 kB / 498 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.09651, allocations: 3.984 kB / 498 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.09659, allocations: 12 kB / 498.1 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.09661, allocations: 7.938 kB / 498.1 MB, free: 0.8945 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.09671, allocations: 209 kB / 498.3 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.09676, allocations: 7.906 kB / 498.3 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.0968, allocations: 13.41 kB / 498.3 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.09681, allocations: 7.938 kB / 498.3 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.09682, allocations: 4 kB / 498.3 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.09683, allocations: 3.938 kB / 498.3 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007983/0.09763, allocations: 0.5577 MB / 498.9 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.09764, allocations: 0 / 498.9 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.09784, allocations: 43.95 kB / 498.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.09785, allocations: 7.938 kB / 498.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.09787, allocations: 0 / 498.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.09787, allocations: 0 / 498.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.09788, allocations: 4.031 kB / 498.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/0.09864, allocations: 420 kB / 499.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.09869, allocations: 88.95 kB / 499.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.09873, allocations: 11.88 kB / 499.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.099, allocations: 52.02 kB / 499.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.09905, allocations: 11.98 kB / 499.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.09906, allocations: 4 kB / 499.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.09915, allocations: 119.2 kB / 499.6 MB, free: 15.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09915, allocations: 0 / 499.6 MB, free: 15.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.09943, allocations: 32 kB / 499.6 MB, free: 15.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.543e-05/0.09954, allocations: 103.2 kB / 499.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005719/0.1001, allocations: 244 kB / 500 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1001, allocations: 192 / 500 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.1004, allocations: 95.94 kB / 0.4884 GB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1007, allocations: 36.94 kB / 0.4884 GB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.1013, allocations: 356.3 kB / 0.4887 GB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.1015, allocations: 0.7049 MB / 0.4894 GB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.756e-05/0.1017, allocations: 24.8 kB / 0.4894 GB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.1017, allocations: 15.44 kB / 0.4895 GB, free: 13.59 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1017, allocations: 4 kB / 0.4895 GB, free: 13.58 MB / 346.7 MB Notification: Performance of Templates: time 0.004323/0.106, allocations: 2.083 MB / 0.4915 GB, free: 11.54 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches