Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001335/0.001335, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.348/1.348, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2126/0.2126, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.27 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.146, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003451/0.1495, allocations: 1.692 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.151, allocations: 0.8808 MB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.859e-05/0.1511, allocations: 4 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.1514, allocations: 39.77 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.1517, allocations: 55.77 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1521, allocations: 115.5 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1523, allocations: 91.7 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1524, allocations: 16.2 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.673e-05/0.1525, allocations: 39.8 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.1526, allocations: 31.84 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1526, allocations: 4 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1528, allocations: 43.97 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.1528, allocations: 23.88 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.1529, allocations: 35.73 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1531, allocations: 115.9 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1531, allocations: 0 / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1531, allocations: 0 / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1531, allocations: 0 / 472.4 MB, free: 11.17 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005868/0.1537, allocations: 403 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1538, allocations: 12.02 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.1539, allocations: 16.84 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1541, allocations: 204 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1541, allocations: 8.312 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.1542, allocations: 12.11 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1543, allocations: 49.67 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1543, allocations: 0 / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1544, allocations: 4 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1544, allocations: 4 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.232e-05/0.1545, allocations: 15.98 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.1549, allocations: 288.9 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1551, allocations: 54.62 kB / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.1552, allocations: 28.78 kB / 473.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1552, allocations: 0 / 473.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.1554, allocations: 67.39 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1554, allocations: 0 / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006593/0.1561, allocations: 169.2 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.1562, allocations: 55.41 kB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.1564, allocations: 186.2 kB / 474 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1564, allocations: 25.7 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.1565, allocations: 104.1 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1565, allocations: 31.64 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.1566, allocations: 21.72 kB / 474.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1567, allocations: 326.8 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.1568, allocations: 27.92 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.536e-05/0.1569, allocations: 37.64 kB / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.157, allocations: 58.08 kB / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.157, allocations: 4 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.1572, allocations: 101.4 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1572, allocations: 4 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1573, allocations: 8 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.1573, allocations: 0 / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.1574, allocations: 15.98 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1574, allocations: 0 / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.1575, allocations: 7.938 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1575, allocations: 7.938 kB / 474.7 MB, free: 8.621 MB / 350.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 0.0001267/0.1576, allocations: 129.9 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.1577, allocations: 7.906 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.1577, allocations: 12.72 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1577, allocations: 4 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1577, allocations: 3.984 kB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1577, allocations: 3.938 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.1582, allocations: 391.3 kB / 475.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1582, allocations: 4 kB / 475.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.1583, allocations: 8 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1583, allocations: 0 / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1583, allocations: 3.938 kB / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1583, allocations: 0 / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.1583, allocations: 11.92 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.1586, allocations: 216.1 kB / 475.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.1587, allocations: 81.02 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1587, allocations: 7.938 kB / 475.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.1588, allocations: 0 / 475.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.1589, allocations: 11.98 kB / 475.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1589, allocations: 4 kB / 475.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.1591, allocations: 143.2 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1591, allocations: 0 / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1593, allocations: 24 kB / 475.8 MB, free: 7.465 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: 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.00116/0.1605, allocations: 465.3 kB / 476.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1607, allocations: 67.91 kB / 476.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1607, allocations: 64 / 476.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.1608, allocations: 35.92 kB / 476.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1612, allocations: 31.92 kB / 476.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.1618, allocations: 227.2 kB / 476.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.1622, allocations: 0.7041 MB / 477.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.067e-05/0.1622, allocations: 12.89 kB / 477.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.1623, allocations: 15.42 kB / 477.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1623, allocations: 4 kB / 477.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of Templates: time 0.005046/0.1673, allocations: 1.696 MB / 479 MB, free: 4.371 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches