Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001427/0.001427, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.374/1.374, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2285/0.2285, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.001181, allocations: 62.34 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1212, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003459/0.1247, allocations: 1.793 MB / 471 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1262, allocations: 0.9549 MB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.1263, allocations: 0 / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.1267, allocations: 303.3 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.1271, allocations: 203.4 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1275, allocations: 174.2 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.1277, allocations: 243.4 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.1278, allocations: 17.55 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.128, allocations: 123.5 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1282, allocations: 188 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.1282, allocations: 4 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1283, allocations: 43.98 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.1284, allocations: 132.5 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1286, allocations: 138.8 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.1289, allocations: 362.9 kB / 473.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1289, allocations: 0 / 473.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1289, allocations: 0 / 473.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.129, allocations: 4 kB / 473.9 MB, free: 9.719 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008259/0.1298, allocations: 0.7152 MB / 474.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1298, allocations: 8.031 kB / 474.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.165e-05/0.1299, allocations: 52.28 kB / 474.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.1304, allocations: 443.9 kB / 475.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1304, allocations: 384 / 475.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.1305, allocations: 8.125 kB / 475.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.1307, allocations: 87.36 kB / 475.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1307, allocations: 3.938 kB / 475.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1307, allocations: 0 / 475.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1307, allocations: 8 kB / 475.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.734e-05/0.1308, allocations: 27.98 kB / 475.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.1312, allocations: 366.3 kB / 475.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1314, allocations: 113.2 kB / 475.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.1315, allocations: 41.64 kB / 475.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.1316, allocations: 3.984 kB / 475.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.1318, allocations: 113 kB / 475.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1318, allocations: 0 / 475.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004428/0.1323, allocations: 192.9 kB / 476.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1323, allocations: 81.11 kB / 476.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008972/0.1332, allocations: 1.003 MB / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1333, allocations: 33.69 kB / 477.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1334, allocations: 228.1 kB / 477.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.1335, allocations: 31.69 kB / 477.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.1335, allocations: 29.72 kB / 477.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1337, allocations: 362.8 kB / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.157e-05/0.1338, allocations: 31.97 kB / 477.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-05/0.1338, allocations: 55.42 kB / 477.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.134, allocations: 87.36 kB / 478 MB, free: 5.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.134, allocations: 0 / 478 MB, free: 5.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000271/0.1343, allocations: 173.4 kB / 478.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1343, allocations: 7.938 kB / 478.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1343, allocations: 4.188 kB / 478.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1344, allocations: 7.938 kB / 478.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1345, allocations: 23.98 kB / 478.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1345, allocations: 4 kB / 478.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.28e-05/0.1346, allocations: 7.938 kB / 478.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1346, allocations: 11.98 kB / 478.2 MB, free: 5.117 MB / 350.1 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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.1348, allocations: 221.6 kB / 478.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.1348, allocations: 55.28 kB / 478.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.1349, allocations: 55.84 kB / 478.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1349, allocations: 8 kB / 478.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1349, allocations: 0 / 478.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.1349, allocations: 3.984 kB / 478.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.1352, allocations: 333.4 kB / 478.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1352, allocations: 0 / 478.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.1352, allocations: 8 kB / 478.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1352, allocations: 0 / 478.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1353, allocations: 7.984 kB / 478.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1353, allocations: 0 / 478.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1353, allocations: 0 / 478.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.1356, allocations: 209.2 kB / 479.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1357, allocations: 136.5 kB / 479.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.1357, allocations: 4 kB / 479.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.1358, allocations: 3.984 kB / 479.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1359, allocations: 12 kB / 479.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1359, allocations: 7.984 kB / 479.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006817/0.1366, allocations: 0.7526 MB / 480 MB, free: 3.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1366, allocations: 0 / 480 MB, free: 3.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1368, allocations: 40 kB / 480 MB, free: 3.18 MB / 350.1 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 (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.0009146/0.1378, allocations: 418.2 kB / 480.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.1381, allocations: 87.89 kB / 480.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1381, allocations: 0 / 480.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1382, allocations: 44.05 kB / 480.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1386, allocations: 74.52 kB / 480.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1397, allocations: 0.8509 MB / 481.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.1401, allocations: 0.831 MB / 482.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.1403, allocations: 67.42 kB / 482.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.1403, allocations: 31.42 kB / 482.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1403, allocations: 4 kB / 482.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of Templates: time 0.0079/0.1483, allocations: 3.66 MB / 486.1 MB, free: 13.25 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches