Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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|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|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2477/0.2477, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 75.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4418, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003503/0.4453, allocations: 1.705 MB / 0.5326 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.4473, allocations: 0.653 MB / 0.5333 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.4475, allocations: 2.812 kB / 0.5333 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.59e-05/0.4476, allocations: 11.81 kB / 0.5333 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.4478, allocations: 21.89 kB / 0.5333 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007199/0.4485, allocations: 144 kB / 0.5335 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.4489, allocations: 159.2 kB / 0.5336 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.4491, allocations: 30.86 kB / 0.5336 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.4494, allocations: 79.72 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.4496, allocations: 70.11 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.4497, allocations: 16.97 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.522e-05/0.4498, allocations: 19.12 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.4499, allocations: 32.5 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.429e-05/0.45, allocations: 61.05 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.4503, allocations: 142.6 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4503, allocations: 0 / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.4503, allocations: 0 / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.4503, allocations: 0 / 0.534 GB, free: 11.21 MB / 398.1 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.0008998/0.4512, allocations: 452.1 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.4513, allocations: 10 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.4515, allocations: 25.33 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.452, allocations: 230.8 kB / 0.5347 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.452, allocations: 4.5 kB / 0.5347 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.4521, allocations: 17.81 kB / 0.5347 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.4525, allocations: 177 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4526, allocations: 0 / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.4526, allocations: 5.375 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.4526, allocations: 2.75 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.4531, allocations: 128.2 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000917/0.454, allocations: 457.6 kB / 0.5355 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006846/0.4547, allocations: 192.1 kB / 0.5357 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.4549, allocations: 72.17 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.455, allocations: 1.5 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.455, allocations: 41.2 kB / 0.5358 GB, free: 9.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.455, allocations: 0 / 0.5358 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001747/0.4568, allocations: 0.5608 MB / 0.5363 GB, free: 9.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.4569, allocations: 108.8 kB / 0.5364 GB, free: 9.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.4571, allocations: 162.4 kB / 0.5366 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.4571, allocations: 31.89 kB / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.4572, allocations: 109.9 kB / 0.5367 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.4572, allocations: 30.89 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.4573, allocations: 26.48 kB / 0.5368 GB, free: 8.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4575, allocations: 326 kB / 0.5371 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.4577, allocations: 75.42 kB / 0.5371 GB, free: 8.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.458, allocations: 94.12 kB / 0.5372 GB, free: 8.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.4585, allocations: 140.5 kB / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4585, allocations: 4 kB / 0.5374 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005307/0.459, allocations: 194 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4591, allocations: 4.094 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4591, allocations: 1.188 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4591, allocations: 0 / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.4593, allocations: 41.3 kB / 0.5376 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4594, allocations: 5.281 kB / 0.5376 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.4595, allocations: 26.25 kB / 0.5376 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.4595, allocations: 1.938 kB / 0.5376 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001622/0.4597, allocations: 121 kB / 0.5378 GB, free: 8.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001182/0.4598, allocations: 58.36 kB / 0.5378 GB, free: 8.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002054/0.46, allocations: 84.69 kB / 0.5379 GB, free: 8.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.173e-06/0.46, allocations: 0.5469 kB / 0.5379 GB, free: 8.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002736/0.4603, allocations: 118.6 kB / 0.538 GB, free: 7.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.4603, allocations: 5.406 kB / 0.538 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/0.4604, allocations: 0.9062 kB / 0.538 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-06/0.4604, allocations: 0 / 0.538 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4605, allocations: 20.95 kB / 0.538 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4605, allocations: 8.984 kB / 0.538 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.4606, allocations: 16.52 kB / 0.5381 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.4606, allocations: 1.844 kB / 0.5381 GB, free: 7.957 MB / 398.1 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.00013/0.4607, allocations: 194.8 kB / 0.5382 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.4608, allocations: 14.72 kB / 0.5383 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.4608, allocations: 16.34 kB / 0.5383 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4609, allocations: 6.031 kB / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4609, allocations: 0 / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4609, allocations: 0 / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009825/0.4619, allocations: 0.5058 MB / 0.5388 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4619, allocations: 5.219 kB / 0.5388 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.4621, allocations: 36.06 kB / 0.5388 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4621, allocations: 1.969 kB / 0.5388 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.4621, allocations: 5.109 kB / 0.5388 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4621, allocations: 1.031 kB / 0.5388 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4621, allocations: 0 / 0.5388 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008496/0.463, allocations: 355.4 kB / 0.5392 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.4631, allocations: 96.97 kB / 0.5392 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.4631, allocations: 5.5 kB / 0.5393 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.4634, allocations: 35.89 kB / 0.5393 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.4634, allocations: 14.81 kB / 0.5393 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.4635, allocations: 12.39 kB / 0.5393 GB, free: 6.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.335e-05/0.4636, allocations: 118.8 kB / 0.5394 GB, free: 6.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4636, allocations: 9.375 kB / 0.5394 GB, free: 6.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000316/0.4639, allocations: 31.91 kB / 0.5395 GB, free: 6.777 MB / 398.1 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 0.0001395/0.464, allocations: 97.59 kB / 0.5396 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006741/0.4647, allocations: 189.8 kB / 0.5397 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4647, allocations: 1.312 kB / 0.5397 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.465, allocations: 85.38 kB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.4654, allocations: 37.38 kB / 0.5399 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.4661, allocations: 282.6 kB / 0.5401 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4664, allocations: 0.7071 MB / 0.5408 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.552e-05/0.4665, allocations: 20.09 kB / 0.5408 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.4666, allocations: 23.84 kB / 0.5409 GB, free: 5.609 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4666, allocations: 0 / 0.5409 GB, free: 5.609 MB / 398.1 MB Notification: Performance of Templates: time 0.008016/0.4746, allocations: 2.33 MB / 0.5431 GB, free: 4.438 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches