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.001306/0.001306, allocations: 110.5 kB / 17.32 MB, free: 6.008 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.001437/0.001437, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.432/1.432, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.2113/0.2113, allocations: 44.18 MB / 336.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 62.25 kB / 407.9 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1164, allocations: 60.82 MB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003049/0.1195, allocations: 1.846 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.121, allocations: 0.9511 MB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1212, allocations: 0 / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.1218, allocations: 287.4 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008316/0.1227, allocations: 199.5 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007091/0.1234, allocations: 159 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.124, allocations: 243.4 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.1241, allocations: 13.55 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003306/0.1244, allocations: 127.5 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.1247, allocations: 192 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.1248, allocations: 8 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1249, allocations: 47.92 kB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1251, allocations: 136.6 kB / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1253, allocations: 138.8 kB / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.1257, allocations: 355 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1257, allocations: 0 / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1257, allocations: 4 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.1257, allocations: 0 / 473.4 MB, free: 10.01 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.0009939/0.1267, allocations: 0.7152 MB / 474.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1268, allocations: 8.031 kB / 474.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.1269, allocations: 52.28 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.1275, allocations: 435.9 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1275, allocations: 8.375 kB / 474.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1276, allocations: 4.125 kB / 474.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.1278, allocations: 91.3 kB / 474.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1278, allocations: 4 kB / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.1278, allocations: 0 / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.1279, allocations: 0 / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.128, allocations: 31.97 kB / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.1285, allocations: 374.3 kB / 475.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.1289, allocations: 113.2 kB / 475.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.129, allocations: 41.64 kB / 475.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.129, allocations: 0 / 475.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/0.1294, allocations: 121 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.1294, allocations: 0 / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005808/0.13, allocations: 196.9 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.13, allocations: 81.11 kB / 475.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.1311, allocations: 1.007 MB / 476.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1311, allocations: 29.7 kB / 476.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1313, allocations: 228.1 kB / 476.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.1313, allocations: 23.72 kB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.1314, allocations: 25.7 kB / 476.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1315, allocations: 370.8 kB / 477.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.1316, allocations: 27.98 kB / 477.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-05/0.1317, allocations: 59.05 kB / 477.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.1319, allocations: 87.34 kB / 477.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1319, allocations: 0 / 477.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003115/0.1322, allocations: 172.8 kB / 477.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1323, allocations: 14.56 kB / 477.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1323, allocations: 4.609 kB / 477.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1323, allocations: 4 kB / 477.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1324, allocations: 16 kB / 477.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1324, allocations: 3.984 kB / 477.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.559e-05/0.1325, allocations: 7.938 kB / 477.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1325, allocations: 12 kB / 477.7 MB, free: 5.418 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.0001993/0.1327, allocations: 226.2 kB / 477.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.1328, allocations: 47.34 kB / 478 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.169e-05/0.1329, allocations: 67.78 kB / 478 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1329, allocations: 0 / 478 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1329, allocations: 0 / 478 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1329, allocations: 0 / 478 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.1332, allocations: 341.4 kB / 478.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1332, allocations: 0 / 478.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.1333, allocations: 11.98 kB / 478.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1333, allocations: 0 / 478.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1333, allocations: 0 / 478.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1333, allocations: 4 kB / 478.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1333, allocations: 4 kB / 478.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.1336, allocations: 205.1 kB / 478.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1338, allocations: 140.5 kB / 478.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.1338, allocations: 3.984 kB / 478.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.1339, allocations: 4 kB / 478.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.134, allocations: 15.92 kB / 478.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.134, allocations: 8 kB / 478.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007245/0.1347, allocations: 0.7526 MB / 479.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1347, allocations: 0 / 479.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.135, allocations: 40 kB / 479.5 MB, free: 3.469 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.0009082/0.1359, allocations: 407.3 kB / 479.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.1362, allocations: 83.91 kB / 480 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1362, allocations: 8.062 kB / 480 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.1363, allocations: 43.92 kB / 480.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.1368, allocations: 85.06 kB / 480.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1379, allocations: 0.929 MB / 481.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.1383, allocations: 0.8388 MB / 481.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.1385, allocations: 47.47 kB / 482 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.1385, allocations: 39.42 kB / 482 MB, free: 1.102 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1386, allocations: 3.938 kB / 482 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Templates: time 0.007645/0.1462, allocations: 3.628 MB / 485.6 MB, free: 13.49 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