Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_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|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 98.42 kB / 16.99 MB, free: 5.945 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.001028/0.001028, allocations: 180.8 kB / 17.87 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.2 MB / 241.8 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2228/0.2228, allocations: 44.22 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005509/0.000551, allocations: 8 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1551, allocations: 61.93 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001806/0.157, allocations: 1.349 MB / 472.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009515/0.1579, allocations: 0.5422 MB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1581, allocations: 3.938 kB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.1581, allocations: 7.922 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.1582, allocations: 15.98 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.1587, allocations: 127.3 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1588, allocations: 83.83 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.159, allocations: 21.44 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1591, allocations: 63.75 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1592, allocations: 55.75 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1593, allocations: 8 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.073e-05/0.1593, allocations: 8 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.1593, allocations: 27.91 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.1594, allocations: 41.64 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1595, allocations: 88.03 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.1595, allocations: 0 / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1595, allocations: 0 / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1595, allocations: 0 / 473.9 MB, free: 11.3 MB / 350.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.0006532/0.1602, allocations: 446.9 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1602, allocations: 8.031 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.1603, allocations: 19.81 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1606, allocations: 207.4 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1606, allocations: 8 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.1606, allocations: 7.953 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.1611, allocations: 198.4 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1611, allocations: 3.906 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.1611, allocations: 0 / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1611, allocations: 4 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.1616, allocations: 159.9 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000939/0.1625, allocations: 476.4 kB / 475.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.1632, allocations: 246.4 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1632, allocations: 4 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1632, allocations: 30.56 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1632, allocations: 0 / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001481/0.1647, allocations: 0.6503 MB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.1648, allocations: 118.7 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1649, allocations: 150.3 kB / 476.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.165, allocations: 25.7 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.165, allocations: 116 kB / 476.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.1651, allocations: 31.55 kB / 476.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.1651, allocations: 4 kB / 476.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1652, allocations: 322.8 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.1654, allocations: 84.03 kB / 477.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.1657, allocations: 118.4 kB / 477.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.1659, allocations: 83.98 kB / 477.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.166, allocations: 0 / 477.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005489/0.1665, allocations: 229.3 kB / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/0.1666, allocations: 93 kB / 477.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1666, allocations: 4 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1666, allocations: 3.953 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.1668, allocations: 51.91 kB / 477.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1669, allocations: 0 / 477.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.167, allocations: 31.97 kB / 477.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.167, allocations: 4 kB / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.167, allocations: 4 kB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002274/0.1673, allocations: 99.88 kB / 477.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.1673, allocations: 0 / 477.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.1673, allocations: 0 / 477.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.781e-05/0.1674, allocations: 27.98 kB / 477.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-06/0.1674, allocations: 384 / 477.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/0.1675, allocations: 15.98 kB / 477.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1675, allocations: 4 kB / 477.9 MB, free: 6.984 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.1677, allocations: 197.6 kB / 478.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.1677, allocations: 11.84 kB / 478.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.1678, allocations: 24.66 kB / 478.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1678, allocations: 4 kB / 478.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.1679, allocations: 3.984 kB / 478.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1679, allocations: 0 / 478.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.169, allocations: 0.5499 MB / 478.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.169, allocations: 0 / 478.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.1692, allocations: 47.98 kB / 478.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.1692, allocations: 4 kB / 478.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1692, allocations: 0 / 478.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1692, allocations: 0 / 478.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1692, allocations: 0 / 478.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009408/0.1702, allocations: 437.6 kB / 479.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.1702, allocations: 85.05 kB / 479.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1703, allocations: 0 / 479.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.1706, allocations: 56.02 kB / 479.3 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.1707, allocations: 11.94 kB / 479.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1707, allocations: 4 kB / 479.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.397e-05/0.1708, allocations: 124.1 kB / 479.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1708, allocations: 0 / 479.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.1711, allocations: 32 kB / 479.5 MB, free: 5.301 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.1712, allocations: 103.2 kB / 479.6 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006544/0.1719, allocations: 236.4 kB / 479.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1719, allocations: 0 / 479.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.1722, allocations: 99.94 kB / 479.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1725, allocations: 20.45 kB / 479.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.1732, allocations: 340.3 kB / 480.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.1737, allocations: 0.7088 MB / 481 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.223e-05/0.1738, allocations: 32.84 kB / 481 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.1738, allocations: 19.42 kB / 481 MB, free: 3.695 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1738, allocations: 0 / 481 MB, free: 3.695 MB / 350.1 MB Notification: Performance of Templates: time 0.005145/0.179, allocations: 1.97 MB / 483 MB, free: 1.754 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches