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.00111/0.00111, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009573/0.0009573, allocations: 173.3 kB / 24.25 MB, free: 312 kB / 18.57 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 0.9555/0.9555, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] 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.171/0.171, allocations: 32.36 MB / 270.7 MB, free: 14.78 MB / 266.7 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|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|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.33e-05, allocations: 4.281 kB / 347.7 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.005469/0.005503, allocations: 1.716 MB / 349.4 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.006495, allocations: 0.6242 MB / 350 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.006599, allocations: 7.938 kB / 350 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.006635, allocations: 11.86 kB / 350 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.006746, allocations: 19.73 kB / 350 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.007136, allocations: 143.7 kB / 350.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003229/0.01036, allocations: 159.5 kB / 350.3 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.01049, allocations: 25.28 kB / 350.4 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.01065, allocations: 91.8 kB / 350.4 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.554e-05/0.01074, allocations: 47.86 kB / 350.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.01077, allocations: 12 kB / 350.5 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.967e-05/0.01079, allocations: 12 kB / 350.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.01083, allocations: 35.91 kB / 350.5 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.01087, allocations: 47.83 kB / 350.6 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.01104, allocations: 111.6 kB / 350.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.01105, allocations: 4 kB / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.01105, allocations: 0 / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.01105, allocations: 0 / 350.7 MB, free: 6.727 MB / 282.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.0005015/0.01155, allocations: 475.9 kB / 351.2 MB, free: 6.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.0116, allocations: 8.031 kB / 351.2 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.01166, allocations: 20.84 kB / 351.2 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.01189, allocations: 188.2 kB / 351.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.01191, allocations: 4.375 kB / 351.4 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.01194, allocations: 16.31 kB / 351.4 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.01224, allocations: 316.1 kB / 351.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.01225, allocations: 192 / 351.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.01227, allocations: 4.375 kB / 351.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.01228, allocations: 3.938 kB / 351.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.228e-05/0.01236, allocations: 34.33 kB / 351.8 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.01293, allocations: 403.4 kB / 352.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.01612, allocations: 87.05 kB / 352.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.01617, allocations: 27.72 kB / 352.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.01619, allocations: 3.938 kB / 352.3 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.01621, allocations: 37.39 kB / 352.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.904e-06/0.01621, allocations: 0 / 352.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005831/0.0168, allocations: 285.6 kB / 352.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.01683, allocations: 106.8 kB / 352.7 MB, free: 4.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.01693, allocations: 201.9 kB / 352.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.01694, allocations: 33.7 kB / 352.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.017, allocations: 154.8 kB / 353.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.01703, allocations: 31.7 kB / 353.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.01707, allocations: 39.3 kB / 353.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.01712, allocations: 0.4961 MB / 353.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.014e-05/0.01717, allocations: 27.67 kB / 353.7 MB, free: 3.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.01724, allocations: 102.5 kB / 353.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.164e-05/0.01732, allocations: 51.7 kB / 353.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01732, allocations: 3.938 kB / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00014/0.01746, allocations: 85.92 kB / 353.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01748, allocations: 4 kB / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01748, allocations: 3.984 kB / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.0175, allocations: 0 / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.01763, allocations: 27.92 kB / 353.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.01764, allocations: 3.938 kB / 353.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.01771, allocations: 19.98 kB / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.01772, allocations: 8 kB / 354 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.175e-05/0.01777, allocations: 147.3 kB / 354.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.735e-05/0.01782, allocations: 98.48 kB / 354.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.78e-05/0.01786, allocations: 39.61 kB / 354.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.81e-07/0.01786, allocations: 0 / 354.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001112/0.01798, allocations: 81.59 kB / 354.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.01798, allocations: 4 kB / 354.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-06/0.01799, allocations: 7.922 kB / 354.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-06/0.01799, allocations: 4 kB / 354.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.01805, allocations: 15.98 kB / 354.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.01806, allocations: 4 kB / 354.4 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.01811, allocations: 16.02 kB / 354.4 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.01811, allocations: 8 kB / 354.4 MB, free: 2.684 MB / 282.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 6.143e-05/0.01817, allocations: 280 kB / 354.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.01821, allocations: 11.95 kB / 354.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.01825, allocations: 16.77 kB / 354.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01826, allocations: 0 / 354.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01826, allocations: 0 / 354.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01826, allocations: 3.984 kB / 354.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.01866, allocations: 404.9 kB / 355.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01866, allocations: 0 / 355.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.01876, allocations: 35.91 kB / 355.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01877, allocations: 0 / 355.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01878, allocations: 4 kB / 355.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01878, allocations: 0 / 355.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01879, allocations: 7.938 kB / 355.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003253/0.02204, allocations: 267.4 kB / 355.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.02205, allocations: 7.953 kB / 355.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.02208, allocations: 0 / 355.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.02223, allocations: 36.03 kB / 355.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.02228, allocations: 11.92 kB / 355.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.02229, allocations: 7.984 kB / 355.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.569e-05/0.02233, allocations: 148 kB / 355.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02233, allocations: 3.938 kB / 355.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.02262, allocations: 32 kB / 355.6 MB, free: 1.359 MB / 282.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.0001008/0.02272, allocations: 111.2 kB / 355.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.02293, allocations: 87.28 kB / 355.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02294, allocations: 0 / 355.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.529e-05/0.02299, allocations: 44.34 kB / 355.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.02333, allocations: 35.97 kB / 355.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.02399, allocations: 253.3 kB / 356.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.63e-05/0.02402, allocations: 71.89 kB / 356.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.142e-05/0.02409, allocations: 20.47 kB / 356.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.02414, allocations: 16.5 kB / 356.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02414, allocations: 4 kB / 356.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of Templates: time 0.00495/0.02909, allocations: 2.444 MB / 358.7 MB, free: 14.24 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] 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","",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.5080494550056756]