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.001997/0.001997, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002657/0.002657, allocations: 165 kB / 23.95 MB, free: 4.168 MB / 14.72 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.549/1.549, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 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.2134/0.2134, allocations: 34.27 MB / 295 MB, free: 14.58 MB / 286.1 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.864e-06/1.864e-06, allocations: 0 / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.155e-05, allocations: 5.234 kB / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003226/0.003257, allocations: 1.677 MB / 444.3 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.004637, allocations: 0.6155 MB / 445 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.004742, allocations: 11.88 kB / 445 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.054e-05/0.004783, allocations: 7.875 kB / 445 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.004906, allocations: 23.78 kB / 445 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.005437, allocations: 147.7 kB / 445.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.005702, allocations: 155.5 kB / 445.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.005841, allocations: 25.28 kB / 445.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.006101, allocations: 107.7 kB / 445.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.006218, allocations: 47.86 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.006266, allocations: 12 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.313e-05/0.006329, allocations: 16 kB / 445.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.006377, allocations: 35.84 kB / 445.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.00644, allocations: 39.91 kB / 445.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.006707, allocations: 155.5 kB / 445.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.00671, allocations: 0 / 445.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006711, allocations: 3.938 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.006721, allocations: 0 / 445.7 MB, free: 2.34 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.000826/0.007547, allocations: 381.8 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.007588, allocations: 8.031 kB / 446.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.007781, allocations: 28.83 kB / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.008111, allocations: 169.3 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.008134, allocations: 8.375 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.008174, allocations: 16.38 kB / 446.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.008765, allocations: 322.9 kB / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.008781, allocations: 192 / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.008805, allocations: 8.375 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.008813, allocations: 3.938 kB / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.009263, allocations: 127.8 kB / 446.8 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008879/0.01015, allocations: 368.1 kB / 447.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006746/0.01083, allocations: 186.5 kB / 447.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.01106, allocations: 68.8 kB / 447.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.01109, allocations: 4 kB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.01114, allocations: 38.56 kB / 447.4 MB, free: 492 kB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.01114, allocations: 0 / 447.4 MB, free: 492 kB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.2185/0.2296, allocations: 0.4912 MB / 447.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.2297, allocations: 106.4 kB / 448 MB, free: 19.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.2298, allocations: 144.9 kB / 448.2 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.2299, allocations: 30.92 kB / 448.2 MB, free: 19.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.23, allocations: 111 kB / 448.3 MB, free: 19.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.23, allocations: 33.77 kB / 448.3 MB, free: 19.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.2301, allocations: 25.53 kB / 448.4 MB, free: 19.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.2301, allocations: 325.3 kB / 448.7 MB, free: 18.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.2304, allocations: 74.36 kB / 448.8 MB, free: 18.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.2307, allocations: 151.8 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.2311, allocations: 137.6 kB / 449 MB, free: 18.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2311, allocations: 0 / 449 MB, free: 18.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005259/0.2316, allocations: 191.2 kB / 449.2 MB, free: 18.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.2317, allocations: 6.312 kB / 449.2 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2317, allocations: 0 / 449.2 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.2317, allocations: 3.906 kB / 449.2 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.2319, allocations: 38.92 kB / 449.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.2319, allocations: 0 / 449.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.2321, allocations: 22.52 kB / 449.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.2321, allocations: 8.547 kB / 449.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001347/0.2322, allocations: 120 kB / 449.4 MB, free: 18.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001217/0.2323, allocations: 115.9 kB / 449.5 MB, free: 18.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001831/0.2325, allocations: 74.84 kB / 449.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.52e-07/0.2325, allocations: 0 / 449.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000239/0.2328, allocations: 123.7 kB / 449.7 MB, free: 18.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.2328, allocations: 5.781 kB / 449.7 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/0.2328, allocations: 8.516 kB / 449.7 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-06/0.2328, allocations: 5.812 kB / 449.7 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.2329, allocations: 21.73 kB / 449.8 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.2329, allocations: 0.8438 kB / 449.8 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.273e-05/0.233, allocations: 11.92 kB / 449.8 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.233, allocations: 2.156 kB / 449.8 MB, free: 18.37 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.843e-05/0.233, allocations: 188.2 kB / 450 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.2331, allocations: 15.14 kB / 450 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.2331, allocations: 21.28 kB / 450 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2331, allocations: 1.281 kB / 450 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2331, allocations: 0 / 450 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2331, allocations: 0.6562 kB / 450 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008431/0.234, allocations: 449.7 kB / 450.4 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.234, allocations: 7.5 kB / 450.4 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.2342, allocations: 34.16 kB / 450.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2342, allocations: 1.094 kB / 450.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2342, allocations: 2.094 kB / 450.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2342, allocations: 1.438 kB / 450.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2342, allocations: 0 / 450.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.2349, allocations: 363.2 kB / 450.8 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.2349, allocations: 9.312 kB / 450.9 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.235, allocations: 9.25 kB / 450.9 MB, free: 17.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.2352, allocations: 35.98 kB / 450.9 MB, free: 17.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.2353, allocations: 14.42 kB / 450.9 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2353, allocations: 5.688 kB / 450.9 MB, free: 17.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.391e-05/0.2354, allocations: 113.7 kB / 451 MB, free: 17.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2354, allocations: 0 / 451 MB, free: 17.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000316/0.2357, allocations: 36.47 kB / 451.1 MB, free: 17.57 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 9.607e-05/0.2358, allocations: 95.78 kB / 451.2 MB, free: 17.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006329/0.2364, allocations: 189.2 kB / 451.3 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2364, allocations: 4 kB / 451.3 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.2366, allocations: 76.12 kB / 451.4 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.237, allocations: 39.42 kB / 451.5 MB, free: 17.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.2377, allocations: 274 kB / 451.7 MB, free: 17.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.402e-05/0.2377, allocations: 90.36 kB / 451.8 MB, free: 17.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.319e-05/0.2378, allocations: 27.39 kB / 451.8 MB, free: 17.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.2379, allocations: 16.97 kB / 451.9 MB, free: 17.15 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2379, allocations: 5.281 kB / 451.9 MB, free: 17.14 MB / 366.1 MB Notification: Performance of Templates: time 0.006077/0.2439, allocations: 2.416 MB / 454.3 MB, free: 16.91 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] 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.146153211593628]