Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 74.11 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002263/0.002263, allocations: 171.2 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2017/0.2017, allocations: 32.37 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,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=5022,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.714e-05, allocations: 2.281 kB / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002949/0.002976, allocations: 1.665 MB / 409 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.004203, allocations: 0.6124 MB / 409.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.563e-05/0.004299, allocations: 7.938 kB / 409.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.77e-05/0.004346, allocations: 19.8 kB / 409.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.004456, allocations: 15.81 kB / 409.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.004941, allocations: 147.5 kB / 409.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.005243, allocations: 155.6 kB / 410 MB, free: 408 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.005386, allocations: 21.3 kB / 410 MB, free: 388 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.005569, allocations: 95.78 kB / 410.1 MB, free: 292 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.005685, allocations: 51.86 kB / 410.1 MB, free: 240 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.128e-05/0.005737, allocations: 16 kB / 410.1 MB, free: 224 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.835e-05/0.005765, allocations: 16 kB / 410.2 MB, free: 208 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.005813, allocations: 31.91 kB / 410.2 MB, free: 176 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.005877, allocations: 43.83 kB / 410.2 MB, free: 132 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.006132, allocations: 151.6 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.006136, allocations: 0 / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006137, allocations: 0 / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.006143, allocations: 4 kB / 410.4 MB, free: 15.97 MB / 350.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.0008285/0.006971, allocations: 385.6 kB / 410.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.007018, allocations: 12.03 kB / 410.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.007075, allocations: 16.84 kB / 410.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.007421, allocations: 175.6 kB / 411 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.007438, allocations: 8.281 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.007473, allocations: 8.375 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005834/0.008056, allocations: 334.9 kB / 411.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.008073, allocations: 4.125 kB / 411.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.008094, allocations: 384 / 411.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.008105, allocations: 7.938 kB / 411.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.00857, allocations: 119.9 kB / 411.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009843/0.009554, allocations: 368.1 kB / 411.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/0.01021, allocations: 186.4 kB / 412 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.01045, allocations: 76.83 kB / 412 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.01047, allocations: 4 kB / 412.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.01051, allocations: 42.5 kB / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.01051, allocations: 0 / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00158/0.01209, allocations: 496.9 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.01217, allocations: 106.8 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.01232, allocations: 154.2 kB / 412.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.01236, allocations: 29.7 kB / 412.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/0.01245, allocations: 108.1 kB / 413 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.01249, allocations: 39.69 kB / 413 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.01255, allocations: 25.7 kB / 413 MB, free: 13.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.01276, allocations: 326.8 kB / 413.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.01301, allocations: 76.73 kB / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.01332, allocations: 145.9 kB / 413.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.01378, allocations: 141 kB / 413.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01378, allocations: 0 / 413.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005743/0.01435, allocations: 189.4 kB / 413.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01437, allocations: 4 kB / 413.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.01438, allocations: 0 / 413.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.0144, allocations: 4 kB / 413.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.01461, allocations: 43.95 kB / 413.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.01462, allocations: 0.5469 kB / 413.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.01476, allocations: 27.91 kB / 414 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.01478, allocations: 4 kB / 414 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001653/0.01494, allocations: 120.1 kB / 414.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001615/0.0151, allocations: 109.9 kB / 414.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001995/0.0153, allocations: 76.86 kB / 414.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.0153, allocations: 0 / 414.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002894/0.01559, allocations: 129.7 kB / 414.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.0156, allocations: 10.66 kB / 414.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.0156, allocations: 0 / 414.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-06/0.01561, allocations: 0 / 414.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.01571, allocations: 27.92 kB / 414.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-06/0.01571, allocations: 0 / 414.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.01582, allocations: 19.98 kB / 414.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.01582, allocations: 0 / 414.5 MB, free: 11.59 MB / 350.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.0001393/0.01596, allocations: 188.2 kB / 414.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.01601, allocations: 11.95 kB / 414.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.01606, allocations: 12.77 kB / 414.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.01607, allocations: 4 kB / 414.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.01609, allocations: 0 / 414.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01609, allocations: 4 kB / 414.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009647/0.01706, allocations: 446.8 kB / 415.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01706, allocations: 0 / 415.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.01725, allocations: 36 kB / 415.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.01725, allocations: 7.984 kB / 415.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.01727, allocations: 3.938 kB / 415.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01727, allocations: 0 / 415.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.01727, allocations: 7.938 kB / 415.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009226/0.0182, allocations: 352.2 kB / 415.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.01822, allocations: 15.89 kB / 415.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.01825, allocations: 7.938 kB / 415.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.01853, allocations: 40.02 kB / 415.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.01859, allocations: 11.92 kB / 415.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.01861, allocations: 4 kB / 415.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.01871, allocations: 115.2 kB / 415.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01871, allocations: 0 / 415.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.01904, allocations: 32 kB / 415.7 MB, free: 10.23 MB / 350.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.0001388/0.01917, allocations: 95.25 kB / 415.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006897/0.01986, allocations: 195.8 kB / 416 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01987, allocations: 0 / 416 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.02015, allocations: 79.98 kB / 416.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.02055, allocations: 35.3 kB / 416.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.02132, allocations: 286.5 kB / 416.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.02143, allocations: 106.8 kB / 416.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.552e-05/0.02152, allocations: 20.34 kB / 416.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.02159, allocations: 16.5 kB / 416.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.02159, allocations: 0 / 416.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of Templates: time 0.007017/0.0286, allocations: 2.414 MB / 419 MB, free: 6.98 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6793623603880405]