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.000784/0.000784, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.0008626/0.0008628, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.377/1.377, allocations: 223.3 MB / 242.3 MB, free: 208 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.2154/0.2154, allocations: 44.25 MB / 337.7 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 12 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1246, allocations: 61.92 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001864/0.1265, allocations: 1.38 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009578/0.1275, allocations: 0.5846 MB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.649e-05/0.1276, allocations: 4 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.1276, allocations: 7.938 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1277, allocations: 19.84 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.1281, allocations: 127.3 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1283, allocations: 143.7 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1284, allocations: 25.44 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1285, allocations: 71.7 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1286, allocations: 51.75 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.1287, allocations: 8 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.931e-05/0.1287, allocations: 8 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.1287, allocations: 27.89 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.1288, allocations: 77.36 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.129, allocations: 123.8 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.129, allocations: 0 / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.129, allocations: 0 / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.129, allocations: 0 / 474.9 MB, free: 10.68 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.0006692/0.1297, allocations: 443.1 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1297, allocations: 12.03 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.1298, allocations: 16.75 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.13, allocations: 212.6 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1301, allocations: 8.375 kB / 475.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.1301, allocations: 12.12 kB / 475.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.1306, allocations: 188.1 kB / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1306, allocations: 0 / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.1306, allocations: 8 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1306, allocations: 0 / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.1311, allocations: 167.8 kB / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008864/0.132, allocations: 472.4 kB / 476.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.1327, allocations: 246.4 kB / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.1329, allocations: 92.8 kB / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.133, allocations: 8.141 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.133, allocations: 38.55 kB / 476.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.133, allocations: 4 kB / 476.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001606/0.1346, allocations: 0.6577 MB / 477.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.1347, allocations: 102.8 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1348, allocations: 158.2 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.1349, allocations: 25.7 kB / 477.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.1349, allocations: 112 kB / 477.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.135, allocations: 31.55 kB / 477.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.135, allocations: 17.72 kB / 477.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1352, allocations: 322.8 kB / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.1354, allocations: 83.94 kB / 478.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.1357, allocations: 114.5 kB / 478.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/0.1362, allocations: 176.7 kB / 478.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1362, allocations: 0 / 478.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005533/0.1367, allocations: 229.4 kB / 478.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.968e-05/0.1368, allocations: 100.9 kB / 478.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.1368, allocations: 0 / 478.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1368, allocations: 384 / 478.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.1371, allocations: 47.97 kB / 478.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1371, allocations: 0 / 478.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.1372, allocations: 35.97 kB / 479 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1372, allocations: 7.922 kB / 479 MB, free: 6.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/0.1373, allocations: 6.344 kB / 479 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000234/0.1375, allocations: 95.89 kB / 479.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-06/0.1375, allocations: 4 kB / 479.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-06/0.1375, allocations: 0 / 479.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/0.1376, allocations: 31.98 kB / 479.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1376, allocations: 4.484 kB / 479.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/0.1377, allocations: 11.98 kB / 479.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.1377, allocations: 4 kB / 479.1 MB, free: 6.145 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.0001388/0.1379, allocations: 197.1 kB / 479.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.1379, allocations: 11.91 kB / 479.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.138, allocations: 20.64 kB / 479.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.138, allocations: 7.938 kB / 479.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.138, allocations: 0 / 479.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.138, allocations: 0 / 479.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009588/0.139, allocations: 0.5499 MB / 479.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.139, allocations: 7.938 kB / 479.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.1392, allocations: 44 kB / 480 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1392, allocations: 0 / 480 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1392, allocations: 8 kB / 480 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1392, allocations: 0 / 480 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1392, allocations: 0 / 480 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.1401, allocations: 416 kB / 480.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.1401, allocations: 88.98 kB / 480.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1402, allocations: 8 kB / 480.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.1405, allocations: 52.02 kB / 480.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.1405, allocations: 11.92 kB / 480.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1405, allocations: 8 kB / 480.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.067e-05/0.1406, allocations: 120.2 kB / 480.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1406, allocations: 4 kB / 480.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.1409, allocations: 35.94 kB / 480.7 MB, free: 4.469 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.0001212/0.1411, allocations: 99.77 kB / 480.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006576/0.1417, allocations: 239.8 kB / 481 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1418, allocations: 4 kB / 481 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.142, allocations: 95.94 kB / 481.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.1425, allocations: 35.84 kB / 481.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000669/0.1431, allocations: 351.9 kB / 481.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1434, allocations: 0.701 MB / 482.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.711e-05/0.1435, allocations: 24.86 kB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.1436, allocations: 15.44 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1436, allocations: 0 / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of Templates: time 0.004827/0.1484, allocations: 2.067 MB / 484.3 MB, free: 0.8164 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches