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.001432/0.001432, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001569/0.001569, allocations: 157.1 kB / 23.95 MB, free: 4.148 MB / 14.72 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 1.517/1.517, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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.2395/0.2395, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 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 2.736e-06/2.736e-06, allocations: 0 / 442.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.621e-05/3.894e-05, allocations: 12.61 kB / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.005496/0.005535, allocations: 1.658 MB / 444.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.007966, allocations: 0.6194 MB / 444.9 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.008101, allocations: 7.938 kB / 444.9 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.836e-05/0.00817, allocations: 11.86 kB / 445 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.00835, allocations: 27.73 kB / 445 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000905/0.009255, allocations: 151.2 kB / 445.1 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.009677, allocations: 155.6 kB / 445.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.009857, allocations: 25.28 kB / 445.3 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.01024, allocations: 107.7 kB / 445.4 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.01042, allocations: 43.86 kB / 445.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.01048, allocations: 16 kB / 445.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-05/0.01056, allocations: 12 kB / 445.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.01064, allocations: 39.89 kB / 445.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.01075, allocations: 43.84 kB / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.01115, allocations: 147.6 kB / 445.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.01115, allocations: 4 kB / 445.7 MB, free: 2.223 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01116, allocations: 0 / 445.7 MB, free: 2.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.01117, allocations: 0 / 445.7 MB, free: 2.223 MB / 366.1 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.001168/0.01234, allocations: 381.7 kB / 446.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.01239, allocations: 12.03 kB / 446.1 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.01266, allocations: 24.83 kB / 446.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.01319, allocations: 169.4 kB / 446.3 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.01322, allocations: 16.25 kB / 446.3 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.01327, allocations: 12.31 kB / 446.3 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009225/0.01419, allocations: 322.9 kB / 446.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.01421, allocations: 4.188 kB / 446.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.01425, allocations: 8.375 kB / 446.6 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.01426, allocations: 3.938 kB / 446.6 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007439/0.015, allocations: 119.9 kB / 446.8 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.01635, allocations: 368.1 kB / 447.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.01748, allocations: 194.4 kB / 447.3 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000416/0.01789, allocations: 72.78 kB / 447.4 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.01792, allocations: 4 kB / 447.4 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/0.01798, allocations: 38.56 kB / 447.4 MB, free: 360 kB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/0.01798, allocations: 0 / 447.4 MB, free: 360 kB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.2179/0.2359, allocations: 491 kB / 447.9 MB, free: 19.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.236, allocations: 109.4 kB / 448 MB, free: 19.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2361, allocations: 145.8 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.2361, allocations: 31.77 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.2362, allocations: 110.2 kB / 448.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.2362, allocations: 30.44 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.2363, allocations: 29.95 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.2363, allocations: 324.6 kB / 448.7 MB, free: 18.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.2366, allocations: 74.92 kB / 448.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.2368, allocations: 146.8 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.2373, allocations: 142.6 kB / 449 MB, free: 18.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2373, allocations: 0 / 449 MB, free: 18.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005223/0.2378, allocations: 187.8 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2378, allocations: 5.688 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2378, allocations: 2.188 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2378, allocations: 1.125 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.238, allocations: 34.44 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2381, allocations: 4.016 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.2382, allocations: 29.02 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2382, allocations: 5.156 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001316/0.2383, allocations: 118.1 kB / 449.4 MB, free: 18.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001184/0.2385, allocations: 113.5 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001801/0.2386, allocations: 78.67 kB / 449.6 MB, free: 18.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.2386, allocations: 0 / 449.6 MB, free: 18.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002437/0.2389, allocations: 125.2 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.2389, allocations: 5.297 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.2389, allocations: 1.188 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-06/0.2389, allocations: 3.938 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.239, allocations: 22.47 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.239, allocations: 0 / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.943e-05/0.2391, allocations: 20.52 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2391, allocations: 1 kB / 449.8 MB, free: 18.18 MB / 366.1 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.358e-05/0.2392, allocations: 185 kB / 449.9 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.2392, allocations: 13.14 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.2393, allocations: 20.72 kB / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2393, allocations: 2.219 kB / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2393, allocations: 0 / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2393, allocations: 0.75 kB / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008458/0.2401, allocations: 453.2 kB / 450.4 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2401, allocations: 1.266 kB / 450.4 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.2403, allocations: 34.55 kB / 450.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2403, allocations: 0.8438 kB / 450.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2403, allocations: 6.375 kB / 450.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2403, allocations: 1.094 kB / 450.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2403, allocations: 0 / 450.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/0.2411, allocations: 366.8 kB / 450.8 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.2411, allocations: 11.44 kB / 450.8 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.2411, allocations: 7.062 kB / 450.8 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.2414, allocations: 42.98 kB / 450.9 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.2414, allocations: 6.219 kB / 450.9 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.2414, allocations: 6.172 kB / 450.9 MB, free: 17.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.874e-05/0.2415, allocations: 116 kB / 451 MB, free: 17.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2415, allocations: 0 / 451 MB, free: 17.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003193/0.2418, allocations: 32.97 kB / 451 MB, free: 17.39 MB / 366.1 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.138e-05/0.2419, allocations: 98.73 kB / 451.1 MB, free: 17.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006076/0.2425, allocations: 187.9 kB / 451.3 MB, free: 17.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2425, allocations: 1.219 kB / 451.3 MB, free: 17.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.2427, allocations: 77.39 kB / 451.4 MB, free: 17.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.2431, allocations: 36.47 kB / 451.4 MB, free: 17.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005925/0.2437, allocations: 268.5 kB / 451.7 MB, free: 17.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.828e-05/0.2438, allocations: 95 kB / 451.8 MB, free: 16.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.182e-05/0.2439, allocations: 21.66 kB / 451.8 MB, free: 16.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.2439, allocations: 21.3 kB / 451.8 MB, free: 16.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2439, allocations: 0 / 451.8 MB, free: 16.96 MB / 366.1 MB Notification: Performance of Templates: time 0.005953/0.2499, allocations: 2.427 MB / 454.3 MB, free: 16.72 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.12519846111536]