Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001412/0.001412, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001246/0.001246, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8536/0.8536, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1215/0.1215, allocations: 32.37 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.364e-05, allocations: 2.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001954/0.001967, allocations: 1.694 MB / 300.7 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1368/0.1388, allocations: 0.641 MB / 301.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.1389, allocations: 5.156 kB / 301.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.139, allocations: 13.48 kB / 301.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.403e-05/0.1391, allocations: 16.05 kB / 301.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.1394, allocations: 148 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.1396, allocations: 157.5 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1398, allocations: 20.92 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.1399, allocations: 98.08 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.14, allocations: 48.42 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.14, allocations: 12.38 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.14, allocations: 13.81 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.1401, allocations: 37.5 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.1401, allocations: 40.97 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1402, allocations: 120.2 kB / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.1402, allocations: 0 / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1402, allocations: 0 / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1402, allocations: 0 / 302.1 MB, free: 19.19 MB / 282.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.0003609/0.1406, allocations: 348.2 kB / 302.4 MB, free: 18.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1406, allocations: 9.906 kB / 302.5 MB, free: 18.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.1407, allocations: 18.94 kB / 302.5 MB, free: 18.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.1408, allocations: 167.8 kB / 302.6 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1409, allocations: 8.812 kB / 302.6 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.1409, allocations: 12.47 kB / 302.7 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.1411, allocations: 298.4 kB / 302.9 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1411, allocations: 2.641 kB / 302.9 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1411, allocations: 1.594 kB / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1411, allocations: 8.062 kB / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.612e-05/0.1412, allocations: 25.22 kB / 303 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.1416, allocations: 256.1 kB / 303.2 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.1417, allocations: 67.09 kB / 303.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.1417, allocations: 17.09 kB / 303.3 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1418, allocations: 3.156 kB / 303.3 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1418, allocations: 42.78 kB / 303.4 MB, free: 18.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1418, allocations: 0 / 303.4 MB, free: 18.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004127/0.1422, allocations: 240.7 kB / 303.6 MB, free: 18.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.1422, allocations: 105.8 kB / 303.7 MB, free: 18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.661e-05/0.1423, allocations: 150 kB / 303.8 MB, free: 17.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1423, allocations: 26.77 kB / 303.9 MB, free: 17.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.1424, allocations: 118.2 kB / 304 MB, free: 17.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.1424, allocations: 27.94 kB / 304 MB, free: 17.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.1424, allocations: 29.52 kB / 304 MB, free: 17.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.1425, allocations: 331.4 kB / 304.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.1425, allocations: 16.91 kB / 304.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-05/0.1426, allocations: 87.42 kB / 304.5 MB, free: 17.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.1426, allocations: 38.5 kB / 304.5 MB, free: 17.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1426, allocations: 0 / 304.5 MB, free: 17.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.558e-05/0.1427, allocations: 76.11 kB / 304.6 MB, free: 17.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1427, allocations: 7.016 kB / 304.6 MB, free: 17.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1427, allocations: 1 kB / 304.6 MB, free: 17.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1427, allocations: 1.438 kB / 304.6 MB, free: 17.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1429, allocations: 29.92 kB / 304.6 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.1429, allocations: 5.609 kB / 304.6 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.1429, allocations: 13.08 kB / 304.6 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.1429, allocations: 2.859 kB / 304.6 MB, free: 17.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.708e-05/0.143, allocations: 91.12 kB / 304.7 MB, free: 17.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.112e-05/0.143, allocations: 83.09 kB / 304.8 MB, free: 17.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.072e-05/0.143, allocations: 29.3 kB / 304.8 MB, free: 17.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.01e-07/0.143, allocations: 3.938 kB / 304.8 MB, free: 17.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 7.317e-05/0.1431, allocations: 70.77 kB / 304.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.1431, allocations: 6.203 kB / 304.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/0.1431, allocations: 1.312 kB / 304.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-06/0.1431, allocations: 5.312 kB / 304.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.917e-05/0.1432, allocations: 23.64 kB / 304.9 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.1432, allocations: 4.578 kB / 305 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.523e-05/0.1432, allocations: 9.766 kB / 305 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.1432, allocations: 4.359 kB / 305 MB, free: 17.04 MB / 282.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 6.032e-05/0.1433, allocations: 186.1 kB / 305.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.1433, allocations: 11.02 kB / 305.2 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.1433, allocations: 17.28 kB / 305.2 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1433, allocations: 5.094 kB / 305.2 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1434, allocations: 0 / 305.2 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1434, allocations: 1.672 kB / 305.2 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.1437, allocations: 272.6 kB / 305.4 MB, free: 16.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1437, allocations: 1.922 kB / 305.5 MB, free: 16.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.1437, allocations: 29.75 kB / 305.5 MB, free: 16.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1437, allocations: 0.5156 kB / 305.5 MB, free: 16.65 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1438, allocations: 4.625 kB / 305.5 MB, free: 16.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1438, allocations: 6.219 kB / 305.5 MB, free: 16.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1438, allocations: 5.031 kB / 305.5 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.1439, allocations: 191 kB / 305.7 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.1439, allocations: 8.938 kB / 305.7 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1439, allocations: 1.547 kB / 305.7 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.144, allocations: 32.91 kB / 305.7 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.1441, allocations: 8.688 kB / 305.7 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1441, allocations: 7.531 kB / 305.7 MB, free: 16.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.125e-05/0.1441, allocations: 36.56 kB / 305.8 MB, free: 16.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1441, allocations: 0 / 305.8 MB, free: 16.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.1443, allocations: 36.97 kB / 305.8 MB, free: 16.48 MB / 282.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.304e-05/0.1443, allocations: 78.58 kB / 305.9 MB, free: 16.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.1445, allocations: 72.55 kB / 306 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1445, allocations: 1.844 kB / 306 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.1445, allocations: 28.48 kB / 306 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.1447, allocations: 42.86 kB / 306 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.1451, allocations: 258.4 kB / 306.3 MB, free: 16.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.134e-05/0.1452, allocations: 66.88 kB / 306.3 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.65e-05/0.1453, allocations: 16.92 kB / 306.4 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.1454, allocations: 102.3 kB / 306.5 MB, free: 16.07 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1454, allocations: 0 / 306.5 MB, free: 16.07 MB / 282.7 MB Notification: Performance of Templates: time 0.005349/0.1507, allocations: 2.634 MB / 309.1 MB, free: 15.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9154166798107326]