Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009291/0.0009292, allocations: 201.6 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007774/0.0007774, allocations: 96.62 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2771/0.2771, allocations: 45 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.00026, allocations: 4 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2493, allocations: 63.1 MB / 0.5214 GB, free: 38.5 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001449/0.2508, allocations: 1.367 MB / 0.5227 GB, free: 37.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009407/0.2518, allocations: 0.8462 MB / 0.5235 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.2519, allocations: 0 / 0.5235 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.2519, allocations: 7.5 kB / 0.5235 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.775e-05/0.252, allocations: 18.28 kB / 0.5236 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.2524, allocations: 126.7 kB / 0.5237 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.2526, allocations: 142.5 kB / 0.5238 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2527, allocations: 23.58 kB / 0.5238 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.2529, allocations: 69.75 kB / 0.5239 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.106e-05/0.253, allocations: 48.64 kB / 0.5239 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.253, allocations: 7.844 kB / 0.524 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.673e-05/0.2531, allocations: 14.25 kB / 0.524 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.2531, allocations: 31.81 kB / 0.524 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.189e-05/0.2531, allocations: 74.2 kB / 0.5241 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.2533, allocations: 125.1 kB / 0.5242 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2533, allocations: 0 / 0.5242 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2533, allocations: 2.5 kB / 0.5242 GB, free: 36.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2533, allocations: 0 / 0.5242 GB, free: 36.45 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005086/0.2538, allocations: 443.5 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2539, allocations: 12.03 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.254, allocations: 23.69 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.2542, allocations: 220.8 kB / 0.5249 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2542, allocations: 11.22 kB / 0.5249 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.2542, allocations: 10.34 kB / 0.5249 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.2546, allocations: 190.3 kB / 0.5251 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2546, allocations: 5.969 kB / 0.5251 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.2547, allocations: 11.92 kB / 0.5251 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2547, allocations: 1.781 kB / 0.5251 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.255, allocations: 154.2 kB / 0.5252 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006738/0.2557, allocations: 470.5 kB / 0.5257 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.2562, allocations: 249.6 kB / 0.5259 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.2564, allocations: 91.83 kB / 0.526 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2565, allocations: 0 / 0.526 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.2565, allocations: 33.16 kB / 0.526 GB, free: 35.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.2565, allocations: 0 / 0.526 GB, free: 35.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001239/0.2577, allocations: 0.6724 MB / 0.5267 GB, free: 34.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.2578, allocations: 105.6 kB / 0.5268 GB, free: 34.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.888e-05/0.2579, allocations: 155.2 kB / 0.5269 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.2579, allocations: 25.7 kB / 0.527 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.258, allocations: 118.1 kB / 0.5271 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.258, allocations: 29.11 kB / 0.5271 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-06/0.258, allocations: 0 / 0.5271 GB, free: 34.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.258, allocations: 324.8 kB / 0.5274 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.2582, allocations: 87.48 kB / 0.5275 GB, free: 34.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.2585, allocations: 113.2 kB / 0.5276 GB, free: 34.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.2588, allocations: 175.5 kB / 0.5278 GB, free: 34.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2588, allocations: 6.75 kB / 0.5278 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000423/0.2593, allocations: 213.9 kB / 0.528 GB, free: 33.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.2593, allocations: 107 kB / 0.5281 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2593, allocations: 0 / 0.5281 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2593, allocations: 384 / 0.5281 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.2595, allocations: 44.14 kB / 0.5281 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2595, allocations: 0 / 0.5281 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.2597, allocations: 35.52 kB / 0.5282 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.2597, allocations: 6.562 kB / 0.5282 GB, free: 33.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.2597, allocations: 9.969 kB / 0.5282 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001891/0.2599, allocations: 94 kB / 0.5283 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.2599, allocations: 3 kB / 0.5283 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/0.2599, allocations: 2.688 kB / 0.5283 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.26, allocations: 26.16 kB / 0.5283 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.26, allocations: 3.938 kB / 0.5283 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.2601, allocations: 22.69 kB / 0.5283 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.2601, allocations: 0 / 0.5283 GB, free: 33.81 MB / 378.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 7.632e-05/0.2602, allocations: 197.9 kB / 0.5285 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.2602, allocations: 14.03 kB / 0.5285 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.2603, allocations: 15.59 kB / 0.5285 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2603, allocations: 6.938 kB / 0.5285 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2603, allocations: 2.953 kB / 0.5285 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2603, allocations: 0 / 0.5285 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.261, allocations: 0.5489 MB / 0.5291 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.261, allocations: 3.938 kB / 0.5291 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.2612, allocations: 40.77 kB / 0.5291 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2612, allocations: 2.75 kB / 0.5291 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2612, allocations: 7.266 kB / 0.5291 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2612, allocations: 2.812 kB / 0.5291 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2612, allocations: 0 / 0.5291 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/0.2618, allocations: 420 kB / 0.5295 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.2619, allocations: 91.48 kB / 0.5296 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.2619, allocations: 3.375 kB / 0.5296 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.2622, allocations: 55.73 kB / 0.5297 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.2622, allocations: 9.891 kB / 0.5297 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.2622, allocations: 6.078 kB / 0.5297 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.99e-05/0.2623, allocations: 120.8 kB / 0.5298 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2623, allocations: 0 / 0.5298 GB, free: 32.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.2626, allocations: 37.25 kB / 0.5298 GB, free: 32.8 MB / 378.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 8.242e-05/0.2627, allocations: 108.3 kB / 0.53 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005378/0.2632, allocations: 239.2 kB / 0.5302 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2632, allocations: 0 / 0.5302 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.2634, allocations: 106 kB / 0.5303 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.2638, allocations: 35.25 kB / 0.5303 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.2643, allocations: 334.8 kB / 0.5306 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.2644, allocations: 0.7084 MB / 0.5313 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.603e-05/0.2645, allocations: 16.62 kB / 0.5313 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.2646, allocations: 20.47 kB / 0.5314 GB, free: 31.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2646, allocations: 0 / 0.5314 GB, free: 31.69 MB / 378.7 MB Notification: Performance of Templates: time 0.00409/0.2687, allocations: 2.074 MB / 0.5334 GB, free: 31.54 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches