Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001257/0.001257, allocations: 194 kB / 18.77 MB, free: 4.742 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.42/1.42, allocations: 222.9 MB / 242.4 MB, free: 15.44 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.2125/0.2125, allocations: 44.18 MB / 336.8 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 69.2 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1239, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003812/0.1278, allocations: 1.846 MB / 471 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.1295, allocations: 0.9472 MB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1296, allocations: 7.938 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.1302, allocations: 287.4 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.1305, allocations: 191.5 kB / 472.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1309, allocations: 154.7 kB / 472.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.1313, allocations: 231.4 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.1314, allocations: 9.562 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1315, allocations: 111.6 kB / 472.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.1318, allocations: 195.9 kB / 473.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.1318, allocations: 4 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1319, allocations: 43.98 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1321, allocations: 128.6 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.1322, allocations: 142.8 kB / 473.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.1325, allocations: 267.9 kB / 473.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1325, allocations: 3.984 kB / 473.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1325, allocations: 0 / 473.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1325, allocations: 0 / 473.7 MB, free: 10.3 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.0009284/0.1335, allocations: 0.7192 MB / 474.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1335, allocations: 8.031 kB / 474.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.1336, allocations: 48.28 kB / 474.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.1341, allocations: 443.9 kB / 474.9 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1341, allocations: 4.375 kB / 474.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.1342, allocations: 12.11 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1344, allocations: 83.36 kB / 475 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1344, allocations: 0 / 475 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1344, allocations: 4 kB / 475 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1344, allocations: 4 kB / 475 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.1346, allocations: 39.84 kB / 475.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.1349, allocations: 370.3 kB / 475.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.1352, allocations: 105.2 kB / 475.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1353, allocations: 45.62 kB / 475.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1354, allocations: 3.938 kB / 475.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.1357, allocations: 101.1 kB / 475.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1357, allocations: 7.938 kB / 475.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004742/0.1362, allocations: 196.9 kB / 475.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.1362, allocations: 85.09 kB / 476 MB, free: 7.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.1373, allocations: 1.003 MB / 477 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1373, allocations: 25.7 kB / 477 MB, free: 6.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.1375, allocations: 228.1 kB / 477.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.1375, allocations: 27.7 kB / 477.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.1376, allocations: 25.72 kB / 477.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1377, allocations: 374.8 kB / 477.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.1378, allocations: 27.92 kB / 477.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.644e-05/0.1379, allocations: 51.42 kB / 477.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1381, allocations: 95.34 kB / 477.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1381, allocations: 0 / 477.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003063/0.1385, allocations: 169.5 kB / 478 MB, free: 5.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1385, allocations: 10.5 kB / 478 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1385, allocations: 0 / 478 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1385, allocations: 0 / 478 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1386, allocations: 27.92 kB / 478 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1386, allocations: 128 / 478 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.613e-05/0.1387, allocations: 19.92 kB / 478 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1388, allocations: 4 kB / 478 MB, free: 5.699 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.0002068/0.139, allocations: 222.2 kB / 478.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.139, allocations: 47.34 kB / 478.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.18e-05/0.1391, allocations: 55.84 kB / 478.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1391, allocations: 4 kB / 478.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1391, allocations: 0 / 478.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1392, allocations: 3.984 kB / 478.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.1395, allocations: 345.4 kB / 478.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1395, allocations: 0 / 478.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.1395, allocations: 7.938 kB / 478.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1395, allocations: 7.938 kB / 478.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1395, allocations: 3.984 kB / 478.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1395, allocations: 0 / 478.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1395, allocations: 4 kB / 478.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.1399, allocations: 209.2 kB / 478.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.14, allocations: 136.5 kB / 479.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.1401, allocations: 7.938 kB / 479.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.1402, allocations: 7.984 kB / 479.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.1402, allocations: 11.98 kB / 479.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1403, allocations: 4 kB / 479.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007694/0.141, allocations: 0.7487 MB / 479.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.141, allocations: 0 / 479.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1413, allocations: 40 kB / 479.9 MB, free: 3.754 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.0009696/0.1423, allocations: 421.1 kB / 480.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.1426, allocations: 79.89 kB / 480.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1426, allocations: 4 kB / 480.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1427, allocations: 35.92 kB / 480.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.1431, allocations: 69.86 kB / 480.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.1446, allocations: 0.9755 MB / 481.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.145, allocations: 0.8429 MB / 482.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.1451, allocations: 27.44 kB / 482.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1451, allocations: 0 / 482.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of Templates: time 0.0089/0.154, allocations: 4.956 MB / 487.3 MB, free: 12.45 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches