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.001267/0.001267, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001222/0.001222, allocations: 161 kB / 24.56 MB, free: 16 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.035/1.035, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2674/0.2674, allocations: 32.81 MB / 294.3 MB, free: 1.305 MB / 266.7 MB " [Timeout remaining time 180] 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.844e-06/1.844e-06, allocations: 0 / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.402e-05, allocations: 5.828 kB / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003807/0.003841, allocations: 1.705 MB / 377.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.005289, allocations: 0.6349 MB / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.005416, allocations: 0 / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.234e-05/0.005469, allocations: 15.8 kB / 378.4 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.005598, allocations: 23.81 kB / 378.4 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.006154, allocations: 151.5 kB / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.006425, allocations: 163.6 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.006578, allocations: 25.3 kB / 378.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.006845, allocations: 99.73 kB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.006968, allocations: 47.86 kB / 378.9 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.007003, allocations: 12 kB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.003e-05/0.007063, allocations: 20 kB / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.007101, allocations: 35.89 kB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/0.007161, allocations: 47.83 kB / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.007405, allocations: 115.6 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.007408, allocations: 0 / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.00741, allocations: 0 / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.007416, allocations: 0 / 379.1 MB, free: 1.59 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.0006407/0.008056, allocations: 468 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.008109, allocations: 12.03 kB / 379.6 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.008311, allocations: 36.78 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.008592, allocations: 176.2 kB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.008617, allocations: 4.375 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.008661, allocations: 12.38 kB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.009055, allocations: 312.1 kB / 380.1 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.009068, allocations: 192 / 380.1 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.00909, allocations: 4.375 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.009102, allocations: 7.938 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.00921, allocations: 35.92 kB / 380.1 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.01004, allocations: 399.4 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.01031, allocations: 91.09 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.01037, allocations: 23.72 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.01041, allocations: 8 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.01044, allocations: 37.39 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.01044, allocations: 0 / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008004/0.01124, allocations: 281.3 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.0113, allocations: 106.8 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.01148, allocations: 200.1 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.0115, allocations: 29.7 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.01158, allocations: 154.8 kB / 381.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.01162, allocations: 35.69 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.01169, allocations: 35.36 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.01185, allocations: 0.4961 MB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.01192, allocations: 23.69 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.01208, allocations: 110.4 kB / 382.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.01219, allocations: 43.69 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.01219, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.01239, allocations: 89.56 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.01242, allocations: 9.875 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.01243, allocations: 3.828 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.01245, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.01263, allocations: 36 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01263, allocations: 0 / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.699e-05/0.01272, allocations: 19.97 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.01274, allocations: 4 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001029/0.01284, allocations: 146.8 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.76e-05/0.01294, allocations: 98.94 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.424e-05/0.01301, allocations: 32.25 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.01301, allocations: 0 / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001566/0.01317, allocations: 85.52 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.01318, allocations: 4 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.01319, allocations: 4.031 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.596e-06/0.01319, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.01328, allocations: 19.98 kB / 382.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01328, allocations: 3.984 kB / 382.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.01335, allocations: 15.98 kB / 382.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.01337, allocations: 4 kB / 382.7 MB, free: 13.57 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.0001317/0.0135, allocations: 280 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.01355, allocations: 15.91 kB / 383 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.01361, allocations: 16.77 kB / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01362, allocations: 8 kB / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01362, allocations: 0 / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01363, allocations: 4 kB / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.01424, allocations: 397.1 kB / 383.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01424, allocations: 0 / 383.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.01438, allocations: 23.98 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.01438, allocations: 4 kB / 383.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.0144, allocations: 4 kB / 383.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.0144, allocations: 3.984 kB / 383.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.01441, allocations: 11.91 kB / 383.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.01475, allocations: 263.5 kB / 383.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.01477, allocations: 7.953 kB / 383.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.0148, allocations: 4 kB / 383.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.01501, allocations: 39.89 kB / 383.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.01506, allocations: 7.922 kB / 383.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.01507, allocations: 4 kB / 383.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.01525, allocations: 158 kB / 384 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01525, allocations: 0 / 384 MB, free: 12.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003625/0.01561, allocations: 36 kB / 384 MB, free: 12.23 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.0001173/0.01573, allocations: 91.25 kB / 384.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.01599, allocations: 99.25 kB / 384.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.01599, allocations: 0 / 384.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.01607, allocations: 35.61 kB / 384.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.01648, allocations: 35.97 kB / 384.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008884/0.01737, allocations: 269.6 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.793e-05/0.01743, allocations: 67.84 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.799e-05/0.01752, allocations: 20.47 kB / 384.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.01759, allocations: 16.5 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01759, allocations: 0 / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Templates: time 0.004474/0.02207, allocations: 2.451 MB / 387.1 MB, free: 9.133 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4525959687307477]