Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009764/0.0009764, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9746/0.9746, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2655/0.2655, allocations: 34.87 MB / 296.3 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.643e-05, allocations: 3.016 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001958/0.001974, allocations: 1.703 MB / 380.5 MB, free: 388 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009068/0.002881, allocations: 0.6427 MB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.67e-05/0.002958, allocations: 7.938 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.002988, allocations: 7.875 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.003073, allocations: 19.78 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.003419, allocations: 155.6 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.003584, allocations: 159.6 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.003697, allocations: 29.22 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.003871, allocations: 91.8 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.003956, allocations: 51.86 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.003977, allocations: 12 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.333e-05/0.004021, allocations: 16 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.00405, allocations: 39.83 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.004086, allocations: 31.92 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.004244, allocations: 127.5 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.004245, allocations: 0 / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004246, allocations: 4 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.004251, allocations: 3.984 kB / 381.8 MB, free: 14.99 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.0004174/0.004668, allocations: 468 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.004697, allocations: 12.03 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.004811, allocations: 32.83 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.004974, allocations: 164.3 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.004989, allocations: 8.375 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.005014, allocations: 8.375 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.005272, allocations: 316.1 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.005281, allocations: 192 / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.005295, allocations: 8.375 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.005303, allocations: 3.938 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.588e-05/0.005369, allocations: 35.97 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.005845, allocations: 403.4 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.005994, allocations: 94.98 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.006035, allocations: 23.69 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.006054, allocations: 4.031 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.006075, allocations: 37.39 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.006076, allocations: 0 / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004771/0.006553, allocations: 281.6 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.006592, allocations: 106.8 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.006694, allocations: 208.7 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.006708, allocations: 29.7 kB / 384 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.006765, allocations: 154.8 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.006792, allocations: 35.69 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.006833, allocations: 39.36 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.00695, allocations: 0.4883 MB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.006993, allocations: 27.67 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.007066, allocations: 110.5 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.509e-05/0.007131, allocations: 43.62 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.007132, allocations: 4.031 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001099/0.007241, allocations: 93.62 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.007252, allocations: 4 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.007255, allocations: 3.938 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.007267, allocations: 0 / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.007359, allocations: 23.98 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.007363, allocations: 4 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/0.007419, allocations: 15.97 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.007428, allocations: 8 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.992e-05/0.007488, allocations: 142.8 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.454e-05/0.007542, allocations: 94.45 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.958e-05/0.007582, allocations: 39.61 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.007583, allocations: 4 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 7.921e-05/0.007663, allocations: 81.58 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-06/0.007668, allocations: 6.344 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-07/0.007668, allocations: 0 / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-06/0.00767, allocations: 4 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.786e-05/0.007708, allocations: 15.98 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.41e-07/0.007708, allocations: 4 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.007742, allocations: 12.02 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-06/0.007744, allocations: 4 kB / 385.5 MB, free: 10.98 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 9.245e-05/0.007836, allocations: 276 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.007864, allocations: 19.91 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.007899, allocations: 16.77 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.0079, allocations: 0 / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.007903, allocations: 0 / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.007906, allocations: 0 / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.008248, allocations: 408.9 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.008249, allocations: 3.938 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.256e-05/0.008322, allocations: 23.98 kB / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.008324, allocations: 7.984 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.008332, allocations: 0 / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.008334, allocations: 4 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008336, allocations: 4.562 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.008538, allocations: 268.1 kB / 386.5 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.008548, allocations: 7.953 kB / 386.5 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.008566, allocations: 8 kB / 386.5 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.008673, allocations: 32.03 kB / 386.5 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.008707, allocations: 11.92 kB / 386.5 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.008716, allocations: 7.984 kB / 386.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.057e-05/0.008777, allocations: 148.2 kB / 386.7 MB, free: 9.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008777, allocations: 0 / 386.7 MB, free: 9.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001924/0.008969, allocations: 32 kB / 386.7 MB, free: 9.648 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 7.174e-05/0.009041, allocations: 111.1 kB / 386.8 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.009195, allocations: 91.27 kB / 386.9 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.009196, allocations: 0 / 386.9 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.009242, allocations: 39.61 kB / 387 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.009475, allocations: 45.69 kB / 387 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.009998, allocations: 257.6 kB / 387.3 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.235e-05/0.01004, allocations: 71.83 kB / 387.3 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.01009, allocations: 20.55 kB / 387.4 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.01013, allocations: 16.5 kB / 387.4 MB, free: 8.941 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01013, allocations: 0 / 387.4 MB, free: 8.941 MB / 362.7 MB Notification: Performance of Templates: time 0.003664/0.0138, allocations: 2.44 MB / 389.8 MB, free: 6.543 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.165647376794368]