Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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 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 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 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 111.8 kB / 17.04 MB, free: 5.801 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.001168/0.001168, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2524/0.2524, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 71.52 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1399, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003147/0.1431, allocations: 1.694 MB / 443.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1443, allocations: 0.7961 MB / 444.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.1444, allocations: 3.938 kB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1448, allocations: 111.7 kB / 444.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.145, allocations: 75.66 kB / 444.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1453, allocations: 95.69 kB / 444.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.1454, allocations: 115.7 kB / 444.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1456, allocations: 12.23 kB / 444.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/0.1456, allocations: 55.77 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.1457, allocations: 59.81 kB / 445 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1458, allocations: 4 kB / 445 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-05/0.1459, allocations: 47.97 kB / 445 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.1459, allocations: 31.86 kB / 445.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.146, allocations: 43.61 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.1462, allocations: 139.5 kB / 445.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1462, allocations: 0 / 445.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1462, allocations: 8 kB / 445.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1462, allocations: 0 / 445.3 MB, free: 2.859 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000508/0.1467, allocations: 434.7 kB / 445.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1468, allocations: 11.89 kB / 445.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.1468, allocations: 16.83 kB / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1471, allocations: 219.9 kB / 445.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1471, allocations: 8.375 kB / 445.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1471, allocations: 8.125 kB / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1473, allocations: 65.59 kB / 446 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1473, allocations: 7.984 kB / 446 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1473, allocations: 0 / 446 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1473, allocations: 0 / 446 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.146e-05/0.1474, allocations: 27.98 kB / 446 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.1478, allocations: 300.7 kB / 446.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1479, allocations: 78.61 kB / 446.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.148, allocations: 20.84 kB / 446.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.148, allocations: 4 kB / 446.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.1482, allocations: 71.39 kB / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.1482, allocations: 0 / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005411/0.1487, allocations: 217 kB / 446.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.1488, allocations: 55.41 kB / 446.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.149, allocations: 242.6 kB / 447 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.149, allocations: 25.7 kB / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.1491, allocations: 112.1 kB / 447.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.1491, allocations: 31.55 kB / 447.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.1491, allocations: 29.7 kB / 447.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.1492, allocations: 326.8 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.1493, allocations: 31.98 kB / 447.6 MB, free: 344 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.1493, allocations: 45.64 kB / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.1495, allocations: 65.66 kB / 447.7 MB, free: 220 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1495, allocations: 3.984 kB / 447.7 MB, free: 216 kB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001635/0.1496, allocations: 113.4 kB / 447.8 MB, free: 96 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1497, allocations: 4 kB / 447.8 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1497, allocations: 4.031 kB / 447.8 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1497, allocations: 4 kB / 447.8 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.1498, allocations: 19.97 kB / 447.8 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1498, allocations: 4 kB / 447.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.1499, allocations: 11.88 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1499, allocations: 4 kB / 447.8 MB, free: 44 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001387/0.15, allocations: 141.7 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.15, allocations: 15.8 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.1501, allocations: 17.41 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1501, allocations: 8.188 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1501, allocations: 0 / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1501, allocations: 7.875 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.1506, allocations: 419.3 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1506, allocations: 0 / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.1507, allocations: 8 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1507, allocations: 4 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1507, allocations: 3.938 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1507, allocations: 8.016 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1507, allocations: 8 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.151, allocations: 216.1 kB / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.1511, allocations: 85.02 kB / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1511, allocations: 3.938 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.1512, allocations: 11.98 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1512, allocations: 8 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1512, allocations: 4 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.1514, allocations: 188.2 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1514, allocations: 0 / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1516, allocations: 27.98 kB / 449 MB, free: 14.78 MB / 334.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001078/0.1527, allocations: 471.3 kB / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1529, allocations: 75.84 kB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.153, allocations: 0 / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.199e-05/0.153, allocations: 31.98 kB / 449.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1534, allocations: 27.92 kB / 449.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.1539, allocations: 291.9 kB / 449.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1542, allocations: 0.7158 MB / 450.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.865e-05/0.1543, allocations: 20.78 kB / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.1543, allocations: 19.42 kB / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1543, allocations: 0 / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Templates: time 0.004678/0.159, allocations: 1.818 MB / 452.4 MB, free: 11.38 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches