Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00251/0.00251, allocations: 187.5 kB / 16.4 MB, free: 5.625 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.093/2.093, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00116/0.00116, allocations: 90.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2938/0.2938, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006577/0.0006578, allocations: 19.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.126, allocations: 58.85 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002709/0.1287, allocations: 1.461 MB / 491.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.1308, allocations: 0.8045 MB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.131, allocations: 4 kB / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006597/0.1317, allocations: 283.4 kB / 492.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004827/0.1322, allocations: 187.5 kB / 492.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.1328, allocations: 123.7 kB / 493.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.1332, allocations: 159.7 kB / 493.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.575e-05/0.1333, allocations: 9.562 kB / 493.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.1335, allocations: 107.6 kB / 493.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.1338, allocations: 147.6 kB / 493.5 MB, free: 6.055 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1338, allocations: 4 kB / 493.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.134, allocations: 24 kB / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.1342, allocations: 135.6 kB / 493.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1343, allocations: 77.45 kB / 493.7 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004694/0.1348, allocations: 271.8 kB / 494 MB, free: 5.547 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1348, allocations: 0 / 494 MB, free: 5.547 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1348, allocations: 0 / 494 MB, free: 5.547 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.1349, allocations: 0 / 494 MB, free: 5.547 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00126/0.1361, allocations: 0.6571 MB / 494.6 MB, free: 4.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.1362, allocations: 12.02 kB / 494.7 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.1363, allocations: 55.3 kB / 494.7 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009043/0.1372, allocations: 423.1 kB / 495.1 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.1373, allocations: 7.984 kB / 495.1 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.1373, allocations: 4 kB / 495.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.1376, allocations: 75.38 kB / 495.2 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1376, allocations: 0 / 495.2 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.1377, allocations: 8 kB / 495.2 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.1377, allocations: 7.969 kB / 495.2 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1379, allocations: 35.88 kB / 495.3 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005996/0.1385, allocations: 374.3 kB / 495.6 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.1389, allocations: 105.3 kB / 495.7 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.139, allocations: 7.984 kB / 495.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/0.1393, allocations: 101.1 kB / 495.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.525e-06/0.1393, allocations: 3.938 kB / 495.8 MB, free: 3.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007892/0.1401, allocations: 197 kB / 496 MB, free: 3.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.1402, allocations: 85.05 kB / 496.1 MB, free: 3.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.1423, allocations: 1.007 MB / 497.1 MB, free: 2.188 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.1424, allocations: 25.7 kB / 497.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.1427, allocations: 246.5 kB / 497.4 MB, free: 1.914 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.1428, allocations: 31.7 kB / 497.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.1428, allocations: 0 / 497.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1429, allocations: 314.8 kB / 497.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.1431, allocations: 31.98 kB / 497.8 MB, free: 1.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.1433, allocations: 55.41 kB / 497.8 MB, free: 1.469 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.1435, allocations: 35.98 kB / 497.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1435, allocations: 0 / 497.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004409/0.1439, allocations: 125.5 kB / 498 MB, free: 1.305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.144, allocations: 7.438 kB / 498 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.144, allocations: 8.062 kB / 498 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.144, allocations: 0 / 498 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.1442, allocations: 24.61 kB / 498 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1443, allocations: 0 / 498 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.1445, allocations: 11.92 kB / 498 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.1445, allocations: 11.95 kB / 498 MB, free: 1.246 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003996/0.1449, allocations: 221.6 kB / 498.2 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/0.145, allocations: 51.34 kB / 498.3 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.1452, allocations: 63.84 kB / 498.4 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.1452, allocations: 3.938 kB / 498.4 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.1452, allocations: 0 / 498.4 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1452, allocations: 3.984 kB / 498.4 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.1457, allocations: 341.4 kB / 498.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1457, allocations: 0 / 498.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.1458, allocations: 4 kB / 498.7 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.1458, allocations: 4 kB / 498.7 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.1459, allocations: 3.984 kB / 498.7 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1459, allocations: 0 / 498.7 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.1459, allocations: 4 kB / 498.7 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.1465, allocations: 218.8 kB / 498.9 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.1467, allocations: 148.5 kB / 499.1 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.1468, allocations: 0 / 499.1 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1469, allocations: 4 kB / 499.1 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.147, allocations: 15.98 kB / 499.1 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.1471, allocations: 4 kB / 499.1 MB, free: 68 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001349/0.1484, allocations: 0.7526 MB / 499.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1484, allocations: 3.938 kB / 499.9 MB, free: 15.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004587/0.1489, allocations: 43.95 kB / 499.9 MB, free: 15.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001309/0.1502, allocations: 417.2 kB / 0.4886 GB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004561/0.1507, allocations: 83.95 kB / 0.4887 GB, free: 14.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1507, allocations: 3.938 kB / 0.4887 GB, free: 14.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.1509, allocations: 39.92 kB / 0.4887 GB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006292/0.1516, allocations: 62.27 kB / 0.4888 GB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1537, allocations: 0.9222 MB / 0.4897 GB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.1544, allocations: 0.8468 MB / 0.4905 GB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.1545, allocations: 23.44 kB / 0.4905 GB, free: 12.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1545, allocations: 4 kB / 0.4905 GB, free: 12.87 MB / 346.7 MB Notification: Performance of Templates: time 0.01362/0.1682, allocations: 4.862 MB / 0.4953 GB, free: 8 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches