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.001158/0.001158, allocations: 82.59 kB / 21.42 MB, free: 3.07 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.00141/0.00141, allocations: 167.5 kB / 24.82 MB, free: 9.324 MB / 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.9936/0.9936, allocations: 177 MB / 205.1 MB, free: 5.457 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.294/0.294, allocations: 34.87 MB / 296.6 MB, free: 0.5117 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.382e-06/1.382e-06, allocations: 0 / 379.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.244e-05, allocations: 6.25 kB / 379.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001985/0.002008, allocations: 1.705 MB / 380.9 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003121, allocations: 0.6388 MB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.003195, allocations: 0 / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.003226, allocations: 11.81 kB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.974e-05/0.003315, allocations: 23.8 kB / 381.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.003631, allocations: 159.5 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.003784, allocations: 159.6 kB / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.003881, allocations: 21.3 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.004034, allocations: 103.7 kB / 382 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.004112, allocations: 43.88 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.004135, allocations: 16 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.207e-05/0.004177, allocations: 19.98 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.0042, allocations: 31.91 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.004231, allocations: 43.84 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.004365, allocations: 115.6 kB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004367, allocations: 4 kB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004368, allocations: 0 / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.004371, allocations: 0 / 382.3 MB, free: 14.76 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.000386/0.004757, allocations: 468 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.004787, allocations: 8.031 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.00489, allocations: 32.83 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.005043, allocations: 177.6 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.005057, allocations: 4.375 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.005081, allocations: 12.38 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.005301, allocations: 304.1 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.005309, allocations: 192 / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.00532, allocations: 8.312 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.005326, allocations: 7.938 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.00537, allocations: 31.91 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.005775, allocations: 376 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.005893, allocations: 79.05 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.005919, allocations: 23.72 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.005937, allocations: 4 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.005957, allocations: 33.39 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.005958, allocations: 4 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003653/0.006323, allocations: 257.7 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.006358, allocations: 102.8 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.006444, allocations: 203.3 kB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.00646, allocations: 29.7 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.006515, allocations: 150.8 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.006541, allocations: 39.67 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.00658, allocations: 31.36 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.006686, allocations: 0.4961 MB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.964e-05/0.006715, allocations: 23.67 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.307e-05/0.006769, allocations: 102.4 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.905e-05/0.006818, allocations: 39.72 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.006819, allocations: 0 / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.389e-05/0.006913, allocations: 85.56 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.006924, allocations: 10.81 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.006929, allocations: 0 / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.006937, allocations: 0 / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.007018, allocations: 23.98 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.007021, allocations: 0 / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.007068, allocations: 19.97 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.007075, allocations: 4 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.562e-05/0.00713, allocations: 150.7 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.581e-05/0.007176, allocations: 94.77 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.912e-05/0.007205, allocations: 35.61 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-07/0.007206, allocations: 0 / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 7.042e-05/0.007276, allocations: 81.53 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/0.007281, allocations: 4 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.62e-07/0.007282, allocations: 0 / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-06/0.007284, allocations: 0 / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-05/0.007322, allocations: 19.98 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.007325, allocations: 7.969 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.00736, allocations: 19.97 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-06/0.007363, allocations: 4 kB / 385.8 MB, free: 10.86 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 8.46e-05/0.007448, allocations: 272 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.00747, allocations: 11.95 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.007502, allocations: 16.78 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.007503, allocations: 0 / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.007507, allocations: 7.984 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.00751, allocations: 0 / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.007824, allocations: 370.1 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.007825, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.007889, allocations: 27.98 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007891, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.007898, allocations: 4 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.0079, allocations: 3.938 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007902, allocations: 4 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.008073, allocations: 259.4 kB / 386.8 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.008082, allocations: 7.953 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.008098, allocations: 12.06 kB / 386.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.008201, allocations: 27.97 kB / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.008227, allocations: 3.984 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.008236, allocations: 11.98 kB / 386.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.815e-05/0.008284, allocations: 151.4 kB / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008284, allocations: 0 / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.008468, allocations: 32 kB / 387 MB, free: 9.59 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 8.062e-05/0.008549, allocations: 107.2 kB / 387.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.008668, allocations: 83.2 kB / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.00867, allocations: 0 / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.801e-05/0.008708, allocations: 39.72 kB / 387.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.00893, allocations: 36.72 kB / 387.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.009359, allocations: 253.6 kB / 387.5 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.78e-05/0.009397, allocations: 75.89 kB / 387.6 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.00945, allocations: 20.47 kB / 387.6 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.009592, allocations: 126.1 kB / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009592, allocations: 0 / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of Templates: time 0.003876/0.01347, allocations: 2.657 MB / 390.4 MB, free: 6.203 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.004674609284848]