Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.000942/0.000942, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001293/0.001293, allocations: 170.4 kB / 24.91 MB, free: 9.199 MB / 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 0.9754/0.9754, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3068/0.3068, allocations: 34.27 MB / 296.1 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.952e-05, allocations: 3.516 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002074/0.002094, allocations: 1.763 MB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.003003, allocations: 0.6509 MB / 327.7 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.003081, allocations: 7.938 kB / 327.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.003113, allocations: 7.875 kB / 327.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.824e-05/0.003211, allocations: 23.8 kB / 327.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.003541, allocations: 151.6 kB / 327.9 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.003702, allocations: 159.5 kB / 328 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.003802, allocations: 25.94 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.00397, allocations: 99.78 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.004051, allocations: 43.88 kB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.004073, allocations: 12 kB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.716e-05/0.004131, allocations: 19.98 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.004157, allocations: 39.84 kB / 328.3 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.004191, allocations: 43.91 kB / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.004329, allocations: 115.5 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004331, allocations: 0 / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004332, allocations: 0 / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.004335, allocations: 0 / 328.4 MB, free: 4.52 MB / 298.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.0003719/0.004707, allocations: 345.6 kB / 328.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.004751, allocations: 12.03 kB / 328.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.004878, allocations: 28.91 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.005081, allocations: 156.8 kB / 328.9 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.005106, allocations: 8.375 kB / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.005138, allocations: 12.38 kB / 329 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.005382, allocations: 299.5 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.005391, allocations: 192 / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.005403, allocations: 4.375 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.005408, allocations: 3.938 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.334e-05/0.005452, allocations: 31.89 kB / 329.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.005838, allocations: 264.4 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.00596, allocations: 74.45 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.005984, allocations: 16.86 kB / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.005999, allocations: 4 kB / 329.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.006019, allocations: 38.56 kB / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.006021, allocations: 0 / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000381/0.006402, allocations: 245.3 kB / 329.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.006447, allocations: 106.8 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.006521, allocations: 142.7 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.006534, allocations: 25.7 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.006568, allocations: 100.1 kB / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.006596, allocations: 39.67 kB / 330.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.006628, allocations: 25.7 kB / 330.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.006705, allocations: 334.7 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.006728, allocations: 12.86 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.006775, allocations: 85.97 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.703e-05/0.006832, allocations: 48.75 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.006833, allocations: 3.938 kB / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.575e-05/0.006909, allocations: 65.67 kB / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.006919, allocations: 4 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.006922, allocations: 0 / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.006932, allocations: 0 / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.007021, allocations: 39.94 kB / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.007023, allocations: 0 / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.007065, allocations: 11.98 kB / 330.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.007073, allocations: 8 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.897e-05/0.007112, allocations: 88.12 kB / 331 MB, free: 1.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.621e-05/0.007148, allocations: 78.36 kB / 331.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.211e-05/0.007181, allocations: 44.88 kB / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.624e-06/0.007182, allocations: 3.938 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 5.41e-05/0.007236, allocations: 58.22 kB / 331.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-06/0.00724, allocations: 4 kB / 331.2 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.62e-07/0.007241, allocations: 8.031 kB / 331.2 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.61e-07/0.007242, allocations: 0 / 331.2 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.042e-05/0.007282, allocations: 31.92 kB / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-06/0.007284, allocations: 0 / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.007314, allocations: 11.98 kB / 331.3 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-06/0.007316, allocations: 0 / 331.3 MB, free: 1.359 MB / 298.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 8.016e-05/0.007397, allocations: 188.2 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.007419, allocations: 11.98 kB / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.007453, allocations: 20.77 kB / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.007454, allocations: 4 kB / 331.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007456, allocations: 0 / 331.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.007458, allocations: 0 / 331.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.007731, allocations: 275.5 kB / 331.8 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007732, allocations: 0 / 331.8 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.007809, allocations: 27.92 kB / 331.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.00781, allocations: 0 / 331.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.007819, allocations: 7.984 kB / 331.8 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.00782, allocations: 0 / 331.8 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007822, allocations: 32 / 331.8 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.007968, allocations: 192.2 kB / 332 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.007981, allocations: 7.953 kB / 332 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.007998, allocations: 11.92 kB / 332 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.008098, allocations: 31.97 kB / 332 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.008127, allocations: 7.984 kB / 332 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.008134, allocations: 0 / 332 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.277e-05/0.008157, allocations: 35.09 kB / 332.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.008157, allocations: 4 kB / 332.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.008298, allocations: 35.94 kB / 332.1 MB, free: 468 kB / 298.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 7.333e-05/0.008372, allocations: 84.34 kB / 332.2 MB, free: 376 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.008485, allocations: 77.55 kB / 332.3 MB, free: 292 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.008488, allocations: 4 kB / 332.3 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.897e-05/0.008517, allocations: 20.86 kB / 332.3 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.008709, allocations: 46.19 kB / 332.3 MB, free: 224 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.009153, allocations: 261 kB / 332.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.542e-05/0.009198, allocations: 63.84 kB / 332.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.009252, allocations: 20.47 kB / 332.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.009385, allocations: 99.31 kB / 332.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.009386, allocations: 0 / 332.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of Templates: time 0.003729/0.01312, allocations: 2.622 MB / 335.4 MB, free: 13.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9765605218708515]