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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 106.4 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 194.9 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2428/0.2428, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 72.2 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1468, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002842/0.1497, allocations: 1.678 MB / 443.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.1506, allocations: 0.636 MB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.691e-05/0.1507, allocations: 4 kB / 444.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.449e-05/0.1508, allocations: 11.81 kB / 444.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.1509, allocations: 27.72 kB / 444.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.1513, allocations: 143.7 kB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.1514, allocations: 159.6 kB / 444.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1516, allocations: 37.05 kB / 444.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1517, allocations: 67.81 kB / 444.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1518, allocations: 71.62 kB / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.1518, allocations: 12 kB / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.036e-05/0.1519, allocations: 12 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.1519, allocations: 31.89 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.152, allocations: 59.67 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.1521, allocations: 139.5 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1521, allocations: 0 / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1521, allocations: 0 / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1521, allocations: 0 / 445 MB, free: 3.055 MB / 318.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.0005734/0.1527, allocations: 462.8 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1527, allocations: 11.89 kB / 445.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.1528, allocations: 16.75 kB / 445.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.1531, allocations: 232.9 kB / 445.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1531, allocations: 8.375 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.1531, allocations: 12.31 kB / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.1535, allocations: 173.6 kB / 445.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1535, allocations: 4 kB / 445.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.1535, allocations: 4 kB / 445.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1535, allocations: 4 kB / 445.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.1538, allocations: 123.9 kB / 446.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.1545, allocations: 460.2 kB / 446.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.155, allocations: 194.4 kB / 446.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.1551, allocations: 76.78 kB / 446.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1552, allocations: 0 / 446.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1552, allocations: 38.56 kB / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.1552, allocations: 0 / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.001183/0.1564, allocations: 0.5684 MB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1565, allocations: 118.7 kB / 447.5 MB, free: 348 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.1566, allocations: 159.6 kB / 447.7 MB, free: 180 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1566, allocations: 25.7 kB / 447.7 MB, free: 148 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.1566, allocations: 112 kB / 447.8 MB, free: 32 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.1567, allocations: 31.55 kB / 447.8 MB, free: 0 / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.1568, allocations: 25.8 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1569, allocations: 322.8 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.1571, allocations: 76.78 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.1573, allocations: 94.55 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.1577, allocations: 144.7 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1577, allocations: 0 / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004321/0.1582, allocations: 189.4 kB / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1582, allocations: 5.094 kB / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1582, allocations: 0 / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1582, allocations: 0 / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.1584, allocations: 35.91 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1584, allocations: 7.984 kB / 448.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.1585, allocations: 23.98 kB / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1586, allocations: 7.984 kB / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001434/0.1587, allocations: 116.1 kB / 448.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001034/0.1588, allocations: 58.53 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001597/0.159, allocations: 81.27 kB / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.82e-07/0.159, allocations: 7.875 kB / 449 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002339/0.1592, allocations: 121.4 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.1593, allocations: 8 kB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.1593, allocations: 0 / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-06/0.1593, allocations: 0 / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1594, allocations: 19.98 kB / 449.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.1594, allocations: 7.938 kB / 449.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.865e-05/0.1595, allocations: 15.98 kB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1595, allocations: 8 kB / 449.2 MB, free: 14.59 MB / 334.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.0001159/0.1596, allocations: 184.3 kB / 449.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.1597, allocations: 15.75 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.1597, allocations: 17.39 kB / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1598, allocations: 7.938 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1598, allocations: 0 / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1598, allocations: 4 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008189/0.1606, allocations: 0.503 MB / 449.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1606, allocations: 7.969 kB / 449.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.1608, allocations: 35.97 kB / 449.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1608, allocations: 0 / 449.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1608, allocations: 4 kB / 449.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1608, allocations: 0 / 449.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1608, allocations: 0 / 449.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.1615, allocations: 356.1 kB / 450.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.1616, allocations: 96.95 kB / 450.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.1616, allocations: 4 kB / 450.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.1618, allocations: 35.95 kB / 450.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.1619, allocations: 11.98 kB / 450.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1619, allocations: 7.984 kB / 450.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.646e-05/0.162, allocations: 132.4 kB / 450.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.162, allocations: 0 / 450.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.1623, allocations: 35.94 kB / 450.6 MB, free: 13.05 MB / 334.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.0001132/0.1625, allocations: 99.25 kB / 450.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005377/0.163, allocations: 191.8 kB / 450.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.163, allocations: 3.938 kB / 450.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.1632, allocations: 75.88 kB / 451 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.1637, allocations: 43.22 kB / 451 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/0.1643, allocations: 297.4 kB / 451.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.1648, allocations: 0.7085 MB / 452 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.469e-05/0.1648, allocations: 24.86 kB / 452 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.1649, allocations: 15.44 kB / 452 MB, free: 11.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1649, allocations: 4 kB / 452.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of Templates: time 0.005181/0.1701, allocations: 2.273 MB / 454.3 MB, free: 9.281 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches