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.001081/0.001081, allocations: 109.4 kB / 18.4 MB, free: 4.695 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.0009745/0.0009745, allocations: 192 kB / 19.34 MB, free: 3.766 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.429/1.429, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 62.25 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1405, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003048/0.1436, allocations: 1.667 MB / 472.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1447, allocations: 0.6001 MB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/0.1448, allocations: 7.938 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.241e-05/0.1448, allocations: 7.875 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.732e-05/0.1449, allocations: 19.78 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.1453, allocations: 139.7 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1456, allocations: 155.6 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1457, allocations: 29.42 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1458, allocations: 75.69 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.1459, allocations: 59.75 kB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.146, allocations: 12 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.342e-05/0.146, allocations: 20 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.1461, allocations: 31.91 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.701e-05/0.1461, allocations: 59.66 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1463, allocations: 139.5 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1463, allocations: 0 / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1463, allocations: 0 / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1463, allocations: 3.938 kB / 473.7 MB, free: 10.64 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.0006631/0.147, allocations: 455 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1471, allocations: 8.031 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.1471, allocations: 16.75 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1474, allocations: 216.6 kB / 474.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1474, allocations: 8.312 kB / 474.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.1475, allocations: 16.11 kB / 474.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.1478, allocations: 172.2 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1479, allocations: 0 / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.1479, allocations: 0 / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1479, allocations: 4 kB / 474.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.1483, allocations: 123.9 kB / 474.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008032/0.1491, allocations: 456.3 kB / 475.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.1496, allocations: 198.4 kB / 475.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.1498, allocations: 72.8 kB / 475.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1499, allocations: 4 kB / 475.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1499, allocations: 34.5 kB / 475.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1499, allocations: 0 / 475.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001366/0.1513, allocations: 0.5721 MB / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.1513, allocations: 106.8 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1515, allocations: 150.2 kB / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1515, allocations: 37.64 kB / 476.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.1516, allocations: 112 kB / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1516, allocations: 31.7 kB / 476.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.1517, allocations: 25.7 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1518, allocations: 322.8 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.152, allocations: 72.8 kB / 476.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.1522, allocations: 98.5 kB / 477 MB, free: 7.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.1526, allocations: 140.7 kB / 477.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1526, allocations: 0 / 477.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004262/0.153, allocations: 181.7 kB / 477.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1531, allocations: 8.094 kB / 477.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1531, allocations: 7.875 kB / 477.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1531, allocations: 0 / 477.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.1533, allocations: 43.95 kB / 477.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1533, allocations: 0 / 477.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1534, allocations: 19.97 kB / 477.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1534, allocations: 4 kB / 477.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001457/0.1536, allocations: 124.1 kB / 477.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001045/0.1537, allocations: 58.48 kB / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001565/0.1539, allocations: 72.83 kB / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.41e-07/0.1539, allocations: 0 / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002282/0.1541, allocations: 125.4 kB / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.323e-06/0.1541, allocations: 6.5 kB / 477.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-06/0.1541, allocations: 4 kB / 477.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-06/0.1541, allocations: 3.938 kB / 477.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.1542, allocations: 19.98 kB / 477.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-06/0.1542, allocations: 0 / 477.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-05/0.1543, allocations: 15.98 kB / 477.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1544, allocations: 4 kB / 477.8 MB, free: 6.234 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.1545, allocations: 193.1 kB / 478 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.1545, allocations: 11.91 kB / 478 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.1546, allocations: 20.92 kB / 478 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1546, allocations: 0 / 478 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1546, allocations: 0 / 478 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1546, allocations: 3.938 kB / 478 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008048/0.1554, allocations: 0.5224 MB / 478.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1554, allocations: 0 / 478.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.1556, allocations: 31.97 kB / 478.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1556, allocations: 8.031 kB / 478.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1556, allocations: 4 kB / 478.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1556, allocations: 0 / 478.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1556, allocations: 3.984 kB / 478.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006708/0.1563, allocations: 360 kB / 478.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.1564, allocations: 85.05 kB / 479 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.1564, allocations: 11.98 kB / 479 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.1567, allocations: 36.02 kB / 479.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.1567, allocations: 7.938 kB / 479.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1567, allocations: 11.98 kB / 479.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.992e-05/0.1568, allocations: 123.2 kB / 479.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1568, allocations: 0 / 479.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.1571, allocations: 32 kB / 479.2 MB, free: 4.684 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 (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.0001138/0.1572, allocations: 99.25 kB / 479.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005531/0.1578, allocations: 187.8 kB / 479.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1578, allocations: 0 / 479.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.158, allocations: 83.88 kB / 479.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1584, allocations: 43.2 kB / 479.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/0.1591, allocations: 280.5 kB / 479.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1594, allocations: 0.7046 MB / 480.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.174e-05/0.1595, allocations: 16.88 kB / 480.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.1595, allocations: 19.44 kB / 480.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1595, allocations: 0 / 480.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of Templates: time 0.004967/0.1645, allocations: 2.267 MB / 482.9 MB, free: 0.9727 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches