Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001615/0.001615, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.00217/0.00217, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.504/1.504, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2329/0.2329, allocations: 46.88 MB / 358.1 MB, free: 10.53 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Blocks.Limiters") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 87.86 kB / 0.4924 GB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1492, allocations: 65.98 MB / 0.5568 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003234/0.1524, allocations: 1.698 MB / 0.5584 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1537, allocations: 0.6624 MB / 0.5591 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.1538, allocations: 11.88 kB / 0.5591 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.1538, allocations: 7.875 kB / 0.5591 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.1539, allocations: 19.8 kB / 0.5591 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.1544, allocations: 155.1 kB / 0.5593 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.1547, allocations: 159.7 kB / 0.5594 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1548, allocations: 24.89 kB / 0.5595 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.155, allocations: 75.75 kB / 0.5595 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1551, allocations: 67.67 kB / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.1551, allocations: 12 kB / 0.5596 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.031e-05/0.1552, allocations: 20 kB / 0.5596 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.1552, allocations: 27.91 kB / 0.5597 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.1553, allocations: 63.64 kB / 0.5597 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1555, allocations: 143.4 kB / 0.5598 GB, free: 2.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1555, allocations: 0 / 0.5598 GB, free: 2.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1555, allocations: 4 kB / 0.5599 GB, free: 2.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1556, allocations: 0 / 0.5599 GB, free: 2.77 MB / 414.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.0007886/0.1563, allocations: 458.8 kB / 0.5603 GB, free: 2.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1564, allocations: 12.02 kB / 0.5603 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.1566, allocations: 20.84 kB / 0.5603 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1569, allocations: 228.1 kB / 0.5605 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.1569, allocations: 8.375 kB / 0.5605 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.157, allocations: 16.36 kB / 0.5606 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.1574, allocations: 180.4 kB / 0.5607 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1574, allocations: 0 / 0.5607 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.1574, allocations: 7.938 kB / 0.5607 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1575, allocations: 4 kB / 0.5607 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/0.1579, allocations: 115.9 kB / 0.5609 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008974/0.1588, allocations: 460.4 kB / 0.5613 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.1594, allocations: 186.5 kB / 0.5615 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.1596, allocations: 72.8 kB / 0.5615 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.1596, allocations: 4 kB / 0.5615 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1597, allocations: 38.5 kB / 0.5616 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1597, allocations: 0 / 0.5616 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001571/0.1612, allocations: 0.5649 MB / 0.5621 GB, free: 212 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.1613, allocations: 106.8 kB / 0.5622 GB, free: 80 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.1615, allocations: 161.5 kB / 0.5624 GB, free: 15.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.1616, allocations: 25.7 kB / 0.5624 GB, free: 15.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.1616, allocations: 112.1 kB / 0.5625 GB, free: 15.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1617, allocations: 35.69 kB / 0.5626 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.1617, allocations: 29.7 kB / 0.5626 GB, free: 15.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1619, allocations: 322.8 kB / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.1621, allocations: 76.73 kB / 0.563 GB, free: 15.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.1624, allocations: 98.5 kB / 0.5631 GB, free: 15.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.1628, allocations: 137 kB / 0.5632 GB, free: 15.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1628, allocations: 3.938 kB / 0.5632 GB, free: 15.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005025/0.1633, allocations: 185.5 kB / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1633, allocations: 4 kB / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1633, allocations: 0 / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1633, allocations: 4 kB / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.1635, allocations: 43.89 kB / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1635, allocations: 3.938 kB / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.1637, allocations: 27.97 kB / 0.5635 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1637, allocations: 0 / 0.5635 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001566/0.1638, allocations: 124.2 kB / 0.5636 GB, free: 14.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001269/0.164, allocations: 62.53 kB / 0.5636 GB, free: 14.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001836/0.1641, allocations: 72.81 kB / 0.5637 GB, free: 14.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.1641, allocations: 0 / 0.5637 GB, free: 14.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002576/0.1644, allocations: 121.8 kB / 0.5638 GB, free: 14.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.1644, allocations: 4 kB / 0.5638 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-06/0.1644, allocations: 0 / 0.5638 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-06/0.1644, allocations: 4.125 kB / 0.5638 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.1645, allocations: 31.86 kB / 0.5639 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.1645, allocations: 3.938 kB / 0.5639 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-05/0.1646, allocations: 15.98 kB / 0.5639 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1646, allocations: 0 / 0.5639 GB, free: 14.32 MB / 430.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 0.0001247/0.1647, allocations: 188.2 kB / 0.5641 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.1648, allocations: 15.91 kB / 0.5641 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.1648, allocations: 17.41 kB / 0.5641 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1648, allocations: 3.938 kB / 0.5641 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.1649, allocations: 0 / 0.5641 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1649, allocations: 0 / 0.5641 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009427/0.1658, allocations: 0.5109 MB / 0.5646 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1658, allocations: 3.938 kB / 0.5646 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.166, allocations: 31.97 kB / 0.5646 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.166, allocations: 7.922 kB / 0.5646 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.166, allocations: 8 kB / 0.5646 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.166, allocations: 0 / 0.5646 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.166, allocations: 0 / 0.5646 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007836/0.1668, allocations: 360.1 kB / 0.565 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.1668, allocations: 96.95 kB / 0.5651 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.1669, allocations: 3.984 kB / 0.5651 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.1671, allocations: 39.95 kB / 0.5651 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.1672, allocations: 8.062 kB / 0.5651 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1672, allocations: 11.98 kB / 0.5651 GB, free: 12.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.455e-05/0.1673, allocations: 120.9 kB / 0.5652 GB, free: 12.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1673, allocations: 0 / 0.5652 GB, free: 12.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.1676, allocations: 32 kB / 0.5653 GB, free: 12.77 MB / 430.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 0.0001305/0.1677, allocations: 91.25 kB / 0.5654 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.1684, allocations: 196 kB / 0.5656 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1684, allocations: 0 / 0.5656 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.1686, allocations: 76.17 kB / 0.5656 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.169, allocations: 43.73 kB / 0.5657 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007016/0.1697, allocations: 318 kB / 0.566 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.17, allocations: 0.7085 MB / 0.5667 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.1701, allocations: 19.44 kB / 0.5667 GB, free: 11.27 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1701, allocations: 0 / 0.5667 GB, free: 11.27 MB / 430.1 MB Notification: Performance of Templates: time 0.004003/0.1741, allocations: 1.858 MB / 0.5685 GB, free: 9.414 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.640982103999704]