Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,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.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,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.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 188.3 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.096/2.096, 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.001138/0.001138, allocations: 94.8 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.3106/0.3106, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00072/0.0007204, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1322, allocations: 58.87 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002635/0.1349, allocations: 1.457 MB / 491.7 MB, free: 7.863 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.1368, allocations: 0.7968 MB / 492.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.137, allocations: 3.938 kB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.1377, allocations: 291.4 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.1382, allocations: 195.5 kB / 493 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.1387, allocations: 123.7 kB / 493.1 MB, free: 6.457 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.1391, allocations: 151.7 kB / 493.2 MB, free: 6.309 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.1392, allocations: 13.55 kB / 493.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.1394, allocations: 115.6 kB / 493.4 MB, free: 6.184 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.1397, allocations: 147.6 kB / 493.5 MB, free: 6.039 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.1397, allocations: 0 / 493.5 MB, free: 6.039 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.1399, allocations: 31.98 kB / 493.5 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.1401, allocations: 139.6 kB / 493.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1402, allocations: 77.45 kB / 493.7 MB, free: 5.789 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.1407, allocations: 275.8 kB / 494 MB, free: 5.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1407, allocations: 0 / 494 MB, free: 5.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1407, allocations: 4 kB / 494 MB, free: 5.516 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1407, allocations: 0 / 494 MB, free: 5.516 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.001231/0.1419, allocations: 0.6687 MB / 494.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.142, allocations: 12.02 kB / 494.7 MB, free: 4.785 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1421, allocations: 55.39 kB / 494.8 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/0.143, allocations: 427.1 kB / 495.2 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.143, allocations: 4 kB / 495.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.143, allocations: 4 kB / 495.2 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.1433, allocations: 83.36 kB / 495.3 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1433, allocations: 0 / 495.3 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.1434, allocations: 0 / 495.3 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1434, allocations: 3.938 kB / 495.3 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.1436, allocations: 35.94 kB / 495.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.1441, allocations: 382.3 kB / 495.7 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.1446, allocations: 101.3 kB / 495.8 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1446, allocations: 8 kB / 495.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.1449, allocations: 101.1 kB / 495.9 MB, free: 3.465 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.145, allocations: 4 kB / 495.9 MB, free: 3.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007494/0.1457, allocations: 193.4 kB / 496.1 MB, free: 3.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.1458, allocations: 89.09 kB / 496.2 MB, free: 3.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.1475, allocations: 1.03 MB / 497.2 MB, free: 2.121 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1476, allocations: 29.7 kB / 497.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.1478, allocations: 254.5 kB / 497.5 MB, free: 1.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.1479, allocations: 31.62 kB / 497.5 MB, free: 1.805 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.1479, allocations: 0 / 497.5 MB, free: 1.805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.148, allocations: 318.8 kB / 497.8 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.1482, allocations: 27.98 kB / 497.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.1484, allocations: 63.41 kB / 497.9 MB, free: 1.383 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.1485, allocations: 32.06 kB / 497.9 MB, free: 1.352 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1486, allocations: 4 kB / 497.9 MB, free: 1.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004259/0.149, allocations: 125.4 kB / 498.1 MB, free: 1.219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.149, allocations: 7.438 kB / 498.1 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.149, allocations: 4.062 kB / 498.1 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.1491, allocations: 4 kB / 498.1 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.1493, allocations: 19.98 kB / 498.1 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1494, allocations: 4 kB / 498.1 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.1496, allocations: 11.98 kB / 498.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.1496, allocations: 7.953 kB / 498.1 MB, free: 1.164 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.0003527/0.15, allocations: 233.5 kB / 498.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.1501, allocations: 51.34 kB / 498.4 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.1502, allocations: 63.94 kB / 498.5 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.1502, allocations: 4 kB / 498.5 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1502, allocations: 0 / 498.5 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1502, allocations: 3.984 kB / 498.5 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.1507, allocations: 337.4 kB / 498.8 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1507, allocations: 0 / 498.8 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.66e-05/0.1508, allocations: 7.984 kB / 498.8 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1508, allocations: 4 kB / 498.8 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1508, allocations: 0 / 498.8 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.1508, allocations: 4 kB / 498.8 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1508, allocations: 4 kB / 498.8 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.1514, allocations: 211 kB / 499 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.1516, allocations: 140.5 kB / 499.2 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.1517, allocations: 12 kB / 499.2 MB, free: 0 / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.1519, allocations: 8.047 kB / 499.2 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.152, allocations: 11.94 kB / 499.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.152, allocations: 11.92 kB / 499.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001354/0.1534, allocations: 0.7682 MB / 500 MB, free: 15.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1534, allocations: 96 / 500 MB, free: 15.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004063/0.1538, allocations: 55.8 kB / 0.4883 GB, free: 15.15 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.001284/0.1551, allocations: 404.6 kB / 0.4887 GB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004129/0.1555, allocations: 83.89 kB / 0.4888 GB, free: 14.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1555, allocations: 0 / 0.4888 GB, free: 14.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.1557, allocations: 40.3 kB / 0.4888 GB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.1563, allocations: 66.34 kB / 0.4889 GB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.1583, allocations: 0.9535 MB / 0.4898 GB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.1589, allocations: 0.8507 MB / 0.4906 GB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.159, allocations: 31.42 kB / 0.4907 GB, free: 12.71 MB / 346.7 MB Notification: Performance of SimCode: time 9.81e-07/0.159, allocations: 0 / 0.4907 GB, free: 12.71 MB / 346.7 MB Notification: Performance of Templates: time 0.01337/0.1724, allocations: 4.963 MB / 0.4955 GB, free: 7.746 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches