Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 99.25 kB / 16.27 MB, free: 5.953 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.001478/0.001479, allocations: 188.9 kB / 17.19 MB, free: 5.594 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.849/1.849, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2483/0.2483, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 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.001494/0.001494, allocations: 74.95 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1453, allocations: 57.79 MB / 440.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002656/0.148, allocations: 1.685 MB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.149, allocations: 0.8 MB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.1491, allocations: 0 / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.1494, allocations: 59.75 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1496, allocations: 59.75 kB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.1498, allocations: 79.77 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.15, allocations: 99.69 kB / 443.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.353e-05/0.1501, allocations: 8.5 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.777e-05/0.1502, allocations: 39.8 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.1503, allocations: 31.8 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.1503, allocations: 8 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1504, allocations: 43.97 kB / 443.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.1505, allocations: 31.91 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.1506, allocations: 43.62 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1508, allocations: 131.5 kB / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1508, allocations: 0 / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1508, allocations: 4 kB / 443.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1508, allocations: 0 / 443.6 MB, free: 3.746 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004928/0.1513, allocations: 438.7 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1513, allocations: 19.83 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.1514, allocations: 16.75 kB / 444.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1516, allocations: 216.9 kB / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1516, allocations: 4.375 kB / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1517, allocations: 4.125 kB / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1518, allocations: 53.67 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1519, allocations: 4 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1519, allocations: 0 / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1519, allocations: 0 / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.152, allocations: 19.98 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.1523, allocations: 312.7 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1525, allocations: 62.67 kB / 444.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.1525, allocations: 16.86 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1526, allocations: 4 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.1527, allocations: 75.23 kB / 444.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1527, allocations: 0 / 444.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005345/0.1533, allocations: 181 kB / 445 MB, free: 2.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.1533, allocations: 51.41 kB / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1535, allocations: 275.8 kB / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1535, allocations: 29.7 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.1536, allocations: 116.1 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1536, allocations: 23.66 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.1537, allocations: 25.7 kB / 445.6 MB, free: 1.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.1538, allocations: 330.8 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.364e-05/0.1538, allocations: 23.98 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.1539, allocations: 33.7 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.978e-05/0.154, allocations: 65.64 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.154, allocations: 0 / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001548/0.1542, allocations: 105.5 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1542, allocations: 4 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1542, allocations: 0 / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1542, allocations: 0 / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.1543, allocations: 23.92 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1543, allocations: 160 / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.1544, allocations: 7.938 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1544, allocations: 12.02 kB / 446.1 MB, free: 1.004 MB / 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 (10): * Single equations (assignments): 10 * 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 8.796e-05/0.1545, allocations: 137.3 kB / 446.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.1545, allocations: 15.81 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.1546, allocations: 21.39 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1546, allocations: 3.984 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1546, allocations: 0 / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1546, allocations: 7.938 kB / 446.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.155, allocations: 411.2 kB / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.155, allocations: 0 / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.155, allocations: 8 kB / 446.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.155, allocations: 384 / 446.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.155, allocations: 11.88 kB / 446.8 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.155, allocations: 7.938 kB / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.155, allocations: 0 / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1553, allocations: 208.2 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.1553, allocations: 85.02 kB / 447 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.1554, allocations: 8.141 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.1554, allocations: 192 / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.1555, allocations: 7.984 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.1555, allocations: 11.94 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.1557, allocations: 204.2 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1558, allocations: 0 / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.156, allocations: 28 kB / 447.3 MB, free: 15.75 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 (8): * Single equations (assignments): 6 * 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.001334/0.1574, allocations: 460.6 kB / 447.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1576, allocations: 63.91 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1576, allocations: 4.062 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.409e-05/0.1577, allocations: 35.92 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.158, allocations: 23.98 kB / 447.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.1587, allocations: 307.7 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.1592, allocations: 0.7158 MB / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.738e-05/0.1592, allocations: 21.17 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.1593, allocations: 19.42 kB / 448.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1593, allocations: 0 / 448.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of Templates: time 0.005657/0.165, allocations: 1.723 MB / 450.7 MB, free: 12.44 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches