Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002553/0.002558, allocations: 183.2 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 88.62 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5406/0.5406, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.000481, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.86 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002721/0.1308, allocations: 1.357 MB / 491.6 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1325, allocations: 0.5935 MB / 492.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.1326, allocations: 4 kB / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.1327, allocations: 11.86 kB / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.1328, allocations: 19.97 kB / 492.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.1335, allocations: 115.7 kB / 492.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.1338, allocations: 83.83 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.134, allocations: 29.08 kB / 492.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.1342, allocations: 63.75 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.1343, allocations: 59.75 kB / 492.5 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.1344, allocations: 7.938 kB / 492.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.42e-05/0.1344, allocations: 8 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.1345, allocations: 23.91 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.1346, allocations: 45.64 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1348, allocations: 92.03 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1348, allocations: 0 / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1348, allocations: 0 / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1348, allocations: 0 / 492.7 MB, free: 8.703 MB / 378.7 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.001038/0.1358, allocations: 454.8 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.1359, allocations: 8.031 kB / 493.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.596e-05/0.136, allocations: 23.77 kB / 493.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.1364, allocations: 214.8 kB / 493.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.1365, allocations: 11.94 kB / 493.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.1365, allocations: 4 kB / 493.4 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/0.1373, allocations: 195.5 kB / 493.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1374, allocations: 3.938 kB / 493.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.1374, allocations: 4 kB / 493.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.1374, allocations: 0 / 493.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008159/0.1383, allocations: 163.8 kB / 493.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.1398, allocations: 476.3 kB / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.141, allocations: 242.5 kB / 494.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.1411, allocations: 4 kB / 494.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.1412, allocations: 34.72 kB / 494.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 3.396e-06/0.1412, allocations: 3.938 kB / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.002846/0.1441, allocations: 0.6502 MB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.1442, allocations: 110.8 kB / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.1445, allocations: 162.4 kB / 495.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.1445, allocations: 29.7 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1447, allocations: 174.4 kB / 495.6 MB, free: 5.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.1447, allocations: 35.48 kB / 495.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.1447, allocations: 4 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1449, allocations: 318.8 kB / 496 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.1454, allocations: 79.94 kB / 496.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.1459, allocations: 118.4 kB / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.1464, allocations: 84.22 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1464, allocations: 0 / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0009958/0.1474, allocations: 221.4 kB / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.725e-05/0.1475, allocations: 89 kB / 496.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1476, allocations: 4 kB / 496.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1476, allocations: 0 / 496.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.148, allocations: 43.97 kB / 496.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.148, allocations: 0 / 496.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.1483, allocations: 35.97 kB / 496.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.1483, allocations: 4 kB / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1484, allocations: 4 kB / 496.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000441/0.1488, allocations: 99.83 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1488, allocations: 0 / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-06/0.1488, allocations: 0 / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.1491, allocations: 31.98 kB / 496.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1491, allocations: 3.938 kB / 496.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.1492, allocations: 15.98 kB / 496.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1493, allocations: 0 / 496.8 MB, free: 4.32 MB / 378.7 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.0002866/0.1495, allocations: 201.1 kB / 497 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.1496, allocations: 19.77 kB / 497 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.171e-05/0.1497, allocations: 21.39 kB / 497 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1497, allocations: 0 / 497 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.1498, allocations: 4 kB / 497 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1498, allocations: 0 / 497 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.1514, allocations: 0.5543 MB / 497.6 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.1515, allocations: 0 / 497.6 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.1519, allocations: 52 kB / 497.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.1519, allocations: 0 / 497.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.1519, allocations: 0 / 497.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/0.1519, allocations: 7.938 kB / 497.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.152, allocations: 3.938 kB / 497.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.1536, allocations: 437.8 kB / 498.1 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.1537, allocations: 89.05 kB / 498.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.1538, allocations: 4 kB / 498.2 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.1543, allocations: 52.02 kB / 498.2 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.1544, allocations: 11.98 kB / 498.2 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.1544, allocations: 3.984 kB / 498.2 MB, free: 2.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.1546, allocations: 127.2 kB / 498.4 MB, free: 2.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1546, allocations: 0 / 498.4 MB, free: 2.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005043/0.1551, allocations: 36 kB / 498.4 MB, free: 2.602 MB / 378.7 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.0002223/0.1554, allocations: 95.25 kB / 498.5 MB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.1573, allocations: 231.8 kB / 498.7 MB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.1574, allocations: 0 / 498.7 MB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007544/0.1582, allocations: 103.9 kB / 498.8 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008229/0.159, allocations: 35.92 kB / 498.9 MB, free: 2.137 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.161, allocations: 370.4 kB / 499.2 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.1616, allocations: 0.7088 MB / 499.9 MB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.1618, allocations: 23.42 kB / 500 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1618, allocations: 0 / 500 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of Templates: time 0.36/0.5219, allocations: 1.81 MB / 0.49 GB, free: 42.34 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches