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.0009387/0.0009387, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001022/0.001022, allocations: 162.3 kB / 25.61 MB, free: 8.598 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.9204/0.9204, allocations: 177.1 MB / 206.1 MB, free: 4.488 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.1313/0.1313, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.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.573e-06/1.573e-06, allocations: 3.984 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.33e-05, allocations: 6.25 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001598/0.001612, allocations: 1.691 MB / 381 MB, free: 21.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007277/0.002339, allocations: 0.6465 MB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.002408, allocations: 3.938 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.002435, allocations: 7.875 kB / 381.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.415e-05/0.002519, allocations: 27.72 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.002815, allocations: 151.7 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.002945, allocations: 155.6 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.003031, allocations: 25.23 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.003161, allocations: 99.78 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.936e-05/0.003231, allocations: 51.8 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.003251, allocations: 16 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.758e-05/0.003288, allocations: 16 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.003309, allocations: 35.89 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.003336, allocations: 35.92 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.003448, allocations: 115.5 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.00345, allocations: 8 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.00345, allocations: 0 / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.003453, allocations: 0 / 382.3 MB, free: 20.34 MB / 314.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.000317/0.00377, allocations: 471.9 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.003797, allocations: 8.031 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.003901, allocations: 24.88 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.004034, allocations: 175.4 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.004048, allocations: 8.375 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.00407, allocations: 16.36 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.004258, allocations: 310.2 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004266, allocations: 192 / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.004278, allocations: 8.375 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.004282, allocations: 7.938 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.004325, allocations: 23.97 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.004672, allocations: 387.8 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.004784, allocations: 87.02 kB / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.004807, allocations: 15.84 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.004823, allocations: 15.97 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.222e-05/0.004836, allocations: 33.39 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.004837, allocations: 0 / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003242/0.005161, allocations: 249.7 kB / 384.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.005183, allocations: 106.8 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.005237, allocations: 201.8 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.005248, allocations: 29.7 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.005281, allocations: 158.7 kB / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.0053, allocations: 39.67 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.005332, allocations: 27.38 kB / 384.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.571e-05/0.005368, allocations: 0.5 MB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.005393, allocations: 23.67 kB / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.005431, allocations: 90.45 kB / 385.3 MB, free: 17.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.7e-05/0.005478, allocations: 51.59 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.005478, allocations: 4.031 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.232e-05/0.005561, allocations: 77.91 kB / 385.4 MB, free: 16.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.005569, allocations: 8 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.005572, allocations: 3.938 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/0.005579, allocations: 0 / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.089e-05/0.00566, allocations: 27.98 kB / 385.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.005662, allocations: 0 / 385.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.005709, allocations: 15.98 kB / 385.5 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.005715, allocations: 3.984 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.118e-05/0.005747, allocations: 138.9 kB / 385.6 MB, free: 16.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.62e-05/0.005773, allocations: 98.48 kB / 385.7 MB, free: 16.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.432e-05/0.005797, allocations: 43.53 kB / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.91e-07/0.005797, allocations: 0 / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 5.424e-05/0.005852, allocations: 77.53 kB / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-06/0.005855, allocations: 4 kB / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-07/0.005855, allocations: 0 / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.21e-07/0.005856, allocations: 0 / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.593e-05/0.005892, allocations: 23.98 kB / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.01e-07/0.005893, allocations: 3.938 kB / 385.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.005927, allocations: 16.02 kB / 385.9 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-06/0.005929, allocations: 0 / 385.9 MB, free: 16.43 MB / 314.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 4.939e-05/0.005978, allocations: 276 kB / 386.2 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.006003, allocations: 11.95 kB / 386.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.00603, allocations: 16.78 kB / 386.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.006031, allocations: 0 / 386.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.006032, allocations: 0 / 386.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.006035, allocations: 3.984 kB / 386.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.006281, allocations: 373.5 kB / 386.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006282, allocations: 4.031 kB / 386.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.006347, allocations: 27.98 kB / 386.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.006349, allocations: 4 kB / 386.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.006355, allocations: 0 / 386.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.006356, allocations: 0 / 386.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.006357, allocations: 0 / 386.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.006485, allocations: 263.4 kB / 386.9 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-06/0.006493, allocations: 7.953 kB / 386.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.006506, allocations: 3.984 kB / 386.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.006613, allocations: 40 kB / 386.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.006635, allocations: 3.984 kB / 386.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.006644, allocations: 11.98 kB / 386.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.583e-05/0.00667, allocations: 150.1 kB / 387.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00667, allocations: 0 / 387.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.006858, allocations: 32 kB / 387.1 MB, free: 15.16 MB / 314.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 5.484e-05/0.006912, allocations: 103.2 kB / 387.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.007017, allocations: 83.27 kB / 387.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-06/0.007018, allocations: 0 / 387.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.007049, allocations: 35.61 kB / 387.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.007273, allocations: 41.48 kB / 387.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.007659, allocations: 247.6 kB / 387.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.3e-05/0.007682, allocations: 75.69 kB / 387.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.007732, allocations: 20.48 kB / 387.7 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.007859, allocations: 130.1 kB / 387.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.00786, allocations: 0 / 387.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of Templates: time 0.0035/0.01136, allocations: 2.708 MB / 390.5 MB, free: 11.71 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 -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.8391753137111664]