Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001447/0.001447, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001569/0.001569, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3739/0.3739, allocations: 32.79 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_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|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 375.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.642e-05/3.832e-05, allocations: 9.344 kB / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003224/0.003262, allocations: 1.654 MB / 376.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.004976, allocations: 0.6194 MB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.005194, allocations: 7.938 kB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.413e-05/0.005258, allocations: 7.875 kB / 377.6 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.005426, allocations: 23.8 kB / 377.6 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.006118, allocations: 155.6 kB / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.006464, allocations: 159.6 kB / 377.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.006632, allocations: 25.14 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00037/0.007002, allocations: 103.8 kB / 378 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.00716, allocations: 43.86 kB / 378.1 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.007202, allocations: 16 kB / 378.1 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-05/0.007268, allocations: 16 kB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.007319, allocations: 35.84 kB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.895e-05/0.007398, allocations: 43.89 kB / 378.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.007757, allocations: 155.5 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.007763, allocations: 4 kB / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.007765, allocations: 0 / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.007772, allocations: 0 / 378.3 MB, free: 1.926 MB / 346.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.0009537/0.008725, allocations: 381.6 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.008772, allocations: 16.02 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.008995, allocations: 24.89 kB / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.009379, allocations: 173.5 kB / 378.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.009399, allocations: 4.375 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.009441, allocations: 12.31 kB / 378.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.01003, allocations: 326.9 kB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.01004, allocations: 192 / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.01006, allocations: 4.375 kB / 379.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002566/0.01032, allocations: 11.94 kB / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004109/0.01073, allocations: 119.9 kB / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.0118, allocations: 372.1 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.01245, allocations: 190.4 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.01268, allocations: 68.8 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.01271, allocations: 4 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.01275, allocations: 34.56 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.01275, allocations: 0 / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.001776/0.01453, allocations: 0.4967 MB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/0.01462, allocations: 106.8 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.0148, allocations: 143.4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.01483, allocations: 29.7 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.01494, allocations: 116 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.01499, allocations: 35.88 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.01506, allocations: 29.7 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.01525, allocations: 334.8 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.0155, allocations: 72.8 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.01578, allocations: 141.9 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.01623, allocations: 140.7 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01623, allocations: 0 / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005284/0.01676, allocations: 193.4 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.01678, allocations: 4 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.01679, allocations: 4 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.01682, allocations: 0 / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.01702, allocations: 35.95 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.01702, allocations: 0 / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.01717, allocations: 31.97 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.01718, allocations: 0 / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000176/0.01735, allocations: 128 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001649/0.01752, allocations: 110.4 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001925/0.01771, allocations: 73.39 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.627e-06/0.01771, allocations: 3.984 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000311/0.01802, allocations: 121.5 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.01804, allocations: 8 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.01804, allocations: 0 / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-06/0.01804, allocations: 0 / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.01814, allocations: 23.98 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01815, allocations: 3.984 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.669e-05/0.01824, allocations: 11.98 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.01825, allocations: 4 kB / 382.4 MB, free: 13.54 MB / 362.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.0001508/0.0184, allocations: 196.1 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.01846, allocations: 19.89 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.01851, allocations: 16.78 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01851, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01851, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01852, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009613/0.01948, allocations: 442.8 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.01948, allocations: 7.922 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.01966, allocations: 39.95 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.571e-05/0.01969, allocations: 4 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.0197, allocations: 0 / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.0197, allocations: 32 / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.01971, allocations: 11.94 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/0.02055, allocations: 360.1 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.02057, allocations: 11.97 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.0206, allocations: 0 / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.0209, allocations: 39.95 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.02097, allocations: 15.86 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.02098, allocations: 4 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.02109, allocations: 118.4 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02109, allocations: 4 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.02143, allocations: 32 kB / 383.7 MB, free: 12.18 MB / 362.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 0.000148/0.02158, allocations: 91.25 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006692/0.02225, allocations: 191.8 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02225, allocations: 0 / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.02249, allocations: 71.88 kB / 384 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.02291, allocations: 39.95 kB / 384.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007316/0.02364, allocations: 289.2 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.02374, allocations: 89.81 kB / 384.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.731e-05/0.02384, allocations: 20.48 kB / 384.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.02391, allocations: 24.44 kB / 384.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.02391, allocations: 0 / 384.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of Templates: time 0.006726/0.03063, allocations: 2.44 MB / 386.9 MB, free: 8.93 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.810127408942208]