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.001597/0.001597, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.00187/0.00187, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.385/1.385, allocations: 222.9 MB / 243 MB, free: 15.15 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.2337/0.2337, allocations: 44.17 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 68.3 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1174, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003553/0.121, allocations: 1.792 MB / 472.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1228, allocations: 0.9627 MB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.1229, allocations: 0 / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.1235, allocations: 303.2 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.1239, allocations: 199.4 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.1243, allocations: 183.2 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.1247, allocations: 235.4 kB / 474.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.62e-05/0.1247, allocations: 17.55 kB / 474.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.1249, allocations: 123.5 kB / 474.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.1251, allocations: 188 kB / 474.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.1251, allocations: 8 kB / 474.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1253, allocations: 43.98 kB / 474.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.1254, allocations: 128.5 kB / 474.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1255, allocations: 146.8 kB / 475 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.1259, allocations: 354.7 kB / 475.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.126, allocations: 8 kB / 475.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.126, allocations: 0 / 475.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.126, allocations: 0 / 475.4 MB, free: 8.984 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.0009629/0.1269, allocations: 0.7152 MB / 476.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.127, allocations: 12.03 kB / 476.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.1271, allocations: 48.28 kB / 476.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006859/0.1278, allocations: 443.9 kB / 476.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1278, allocations: 8.375 kB / 476.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.1278, allocations: 8.125 kB / 476.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.128, allocations: 87.3 kB / 476.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.128, allocations: 0 / 476.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.128, allocations: 0 / 476.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.128, allocations: 4 kB / 476.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1282, allocations: 27.98 kB / 476.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.1285, allocations: 378.3 kB / 477.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.1289, allocations: 101.2 kB / 477.2 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.002e-05/0.129, allocations: 41.64 kB / 477.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.129, allocations: 4 kB / 477.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.1292, allocations: 113 kB / 477.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1292, allocations: 0 / 477.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004556/0.1297, allocations: 200.9 kB / 477.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1297, allocations: 81.11 kB / 477.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.1308, allocations: 1.007 MB / 478.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1308, allocations: 25.7 kB / 478.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.131, allocations: 240 kB / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.131, allocations: 27.69 kB / 478.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.131, allocations: 25.72 kB / 478.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1312, allocations: 362.8 kB / 479.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.1313, allocations: 27.98 kB / 479.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.984e-05/0.1314, allocations: 63.41 kB / 479.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.1316, allocations: 87.36 kB / 479.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1316, allocations: 0 / 479.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000296/0.1319, allocations: 181.4 kB / 479.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1319, allocations: 8 kB / 479.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1319, allocations: 0 / 479.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1319, allocations: 0 / 479.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1321, allocations: 23.98 kB / 479.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.1321, allocations: 0 / 479.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1322, allocations: 11.94 kB / 479.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1322, allocations: 4 kB / 479.7 MB, free: 4.383 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.0002227/0.1324, allocations: 233.7 kB / 479.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.1325, allocations: 51.28 kB / 479.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.012e-05/0.1326, allocations: 55.84 kB / 480 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1326, allocations: 4 kB / 480 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1326, allocations: 0 / 480 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1326, allocations: 0 / 480 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.133, allocations: 333.4 kB / 480.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.133, allocations: 4 kB / 480.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.133, allocations: 8 kB / 480.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.133, allocations: 0 / 480.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.133, allocations: 4 kB / 480.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.133, allocations: 4 kB / 480.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.133, allocations: 3.984 kB / 480.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.1334, allocations: 201.2 kB / 480.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.1336, allocations: 136.5 kB / 480.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.1336, allocations: 8 kB / 480.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.1337, allocations: 7.984 kB / 480.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.1338, allocations: 8 kB / 480.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.1338, allocations: 11.98 kB / 480.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007831/0.1346, allocations: 0.7409 MB / 481.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.675e-06/0.1346, allocations: 96 / 481.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.1349, allocations: 55.86 kB / 481.5 MB, free: 2.434 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.001047/0.1359, allocations: 412.5 kB / 481.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.1362, allocations: 79.91 kB / 482 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1362, allocations: 0 / 482 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.1364, allocations: 43.91 kB / 482 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.1368, allocations: 80.73 kB / 482.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1379, allocations: 0.8471 MB / 483 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.1383, allocations: 0.8349 MB / 483.8 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.1384, allocations: 62.94 kB / 483.9 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.1385, allocations: 27.44 kB / 483.9 MB, free: 172 kB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1385, allocations: 0 / 483.9 MB, free: 172 kB / 350.1 MB Notification: Performance of Templates: time 0.007827/0.1463, allocations: 3.661 MB / 487.5 MB, free: 12.52 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/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