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.00187/0.00187, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002043/0.002043, allocations: 169.3 kB / 24.27 MB, free: 156 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.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3751/0.3751, allocations: 34.27 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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 4.047e-06/4.047e-06, allocations: 4 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.529e-05/3.933e-05, allocations: 13.2 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003498/0.003537, allocations: 1.673 MB / 379 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.005098, allocations: 0.6311 MB / 379.6 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.005206, allocations: 3.938 kB / 379.6 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.002e-05/0.005256, allocations: 11.86 kB / 379.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.005427, allocations: 23.73 kB / 379.6 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005813/0.006008, allocations: 147.7 kB / 379.8 MB, free: 488 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.006306, allocations: 159.5 kB / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.006471, allocations: 37.22 kB / 380 MB, free: 292 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.006727, allocations: 99.78 kB / 380.1 MB, free: 192 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.006843, allocations: 39.88 kB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.006888, allocations: 16 kB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.006952, allocations: 16 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.007, allocations: 35.89 kB / 380.2 MB, free: 84 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.007065, allocations: 39.91 kB / 380.2 MB, free: 44 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.007376, allocations: 159.5 kB / 380.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.00738, allocations: 0 / 380.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007381, allocations: 0 / 380.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.007385, allocations: 4 kB / 380.4 MB, free: 15.88 MB / 362.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.0008061/0.008191, allocations: 479.6 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.008239, allocations: 8.031 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.008447, allocations: 20.89 kB / 380.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.008782, allocations: 172.4 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.008802, allocations: 4.375 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.00884, allocations: 16.38 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.009364, allocations: 319.4 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.009377, allocations: 192 / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.0094, allocations: 8.375 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.009407, allocations: 3.938 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.009731, allocations: 99.91 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009221/0.01065, allocations: 431.3 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.01115, allocations: 151 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.01133, allocations: 63.66 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.01137, allocations: 7.984 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.01141, allocations: 37.39 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.01141, allocations: 0 / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001377/0.01279, allocations: 433.5 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/0.01288, allocations: 110.8 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.01309, allocations: 214.8 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.01312, allocations: 29.7 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.01325, allocations: 162.7 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.0133, allocations: 31.75 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.01337, allocations: 35.36 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002731/0.01364, allocations: 0.5 MB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.01383, allocations: 63.66 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.01407, allocations: 138.4 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.01441, allocations: 111.6 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01441, allocations: 0 / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005234/0.01493, allocations: 165.5 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.01495, allocations: 8 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01495, allocations: 0 / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.01497, allocations: 0 / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.01516, allocations: 35.97 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.01516, allocations: 0 / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.01527, allocations: 15.98 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.01528, allocations: 4 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001756/0.01546, allocations: 170.8 kB / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001535/0.01561, allocations: 110.5 kB / 384.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000163/0.01577, allocations: 68.16 kB / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.32e-07/0.01577, allocations: 0 / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002316/0.01601, allocations: 121.4 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.01602, allocations: 6.188 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-06/0.01602, allocations: 0 / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-06/0.01602, allocations: 8.031 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.01611, allocations: 15.98 kB / 384.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-06/0.01611, allocations: 4 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/0.01619, allocations: 7.984 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.0162, allocations: 4 kB / 384.7 MB, free: 11.2 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.0001892/0.01638, allocations: 280 kB / 384.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.01643, allocations: 19.91 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/0.0165, allocations: 16.77 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.0165, allocations: 0 / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.0165, allocations: 4 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01651, allocations: 0 / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009241/0.01743, allocations: 472.9 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01743, allocations: 4 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.01758, allocations: 27.97 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01758, allocations: 0 / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.0176, allocations: 8.031 kB / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.0176, allocations: 4 kB / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.01761, allocations: 3.938 kB / 385.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.01831, allocations: 363.4 kB / 385.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.01834, allocations: 15.94 kB / 385.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.01836, allocations: 0 / 385.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.0186, allocations: 36 kB / 385.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.01866, allocations: 15.86 kB / 385.9 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01868, allocations: 4 kB / 385.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.0188, allocations: 162.2 kB / 386.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0188, allocations: 0 / 386.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000325/0.01913, allocations: 36 kB / 386.1 MB, free: 9.684 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.0001398/0.01927, allocations: 95.25 kB / 386.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.01981, allocations: 175.2 kB / 386.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.01982, allocations: 0 / 386.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.02002, allocations: 79.52 kB / 386.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.02042, allocations: 44.02 kB / 386.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/0.02112, allocations: 290.4 kB / 386.8 MB, free: 8.961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.02122, allocations: 89.81 kB / 386.9 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.024e-05/0.02131, allocations: 24.48 kB / 386.9 MB, free: 8.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.02138, allocations: 16.5 kB / 386.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of SimCode: time 5.52e-07/0.02138, allocations: 0 / 386.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of Templates: time 0.006877/0.02825, allocations: 2.434 MB / 389.3 MB, free: 6.426 MB / 362.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.180849349009804]