Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.00144, 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.001653/0.001653, 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.353/1.353, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.235/0.235, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001338, allocations: 58.81 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1373, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003937/0.1412, allocations: 1.695 MB / 471 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.143, allocations: 0.8808 MB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1431, allocations: 0 / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.1434, allocations: 67.67 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1437, allocations: 47.77 kB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.1442, allocations: 115.6 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1444, allocations: 99.69 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1445, allocations: 4.234 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1446, allocations: 47.78 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.868e-05/0.1447, allocations: 35.78 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1448, allocations: 4 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1449, allocations: 39.98 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.145, allocations: 19.92 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.711e-05/0.1451, allocations: 43.67 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.1453, allocations: 131.8 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1453, allocations: 0 / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1454, allocations: 0 / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1454, allocations: 0 / 472.5 MB, free: 11.14 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.0006762/0.146, allocations: 446.7 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1461, allocations: 12.03 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/0.1462, allocations: 12.75 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1465, allocations: 216 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1465, allocations: 384 / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.1465, allocations: 12.12 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1467, allocations: 49.67 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1467, allocations: 0 / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1468, allocations: 7.984 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.1468, allocations: 7.984 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.063e-05/0.1469, allocations: 23.92 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.1474, allocations: 288.9 kB / 473.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1476, allocations: 54.67 kB / 473.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.1477, allocations: 16.86 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1477, allocations: 4 kB / 473.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.148, allocations: 75.31 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.148, allocations: 0 / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006558/0.1487, allocations: 185 kB / 473.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.1487, allocations: 51.41 kB / 473.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.149, allocations: 262.9 kB / 474.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1491, allocations: 29.7 kB / 474.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.1492, allocations: 112.1 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.1492, allocations: 27.69 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.1493, allocations: 25.72 kB / 474.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1495, allocations: 330.8 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.1495, allocations: 20.38 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.1496, allocations: 37.64 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1498, allocations: 77.64 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1498, allocations: 4 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002117/0.15, allocations: 93.5 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.15, allocations: 8 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.15, allocations: 3.984 kB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1501, allocations: 0 / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1502, allocations: 15.94 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1502, allocations: 4 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.1502, allocations: 7.969 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1503, allocations: 11.98 kB / 475 MB, free: 8.414 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.0001405/0.1504, allocations: 137.8 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.1504, allocations: 11.81 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.1505, allocations: 17.41 kB / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1505, allocations: 4 kB / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1505, allocations: 0 / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.1505, allocations: 7.922 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.1512, allocations: 399.3 kB / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1512, allocations: 0 / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.1512, allocations: 11.98 kB / 475.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1512, allocations: 0 / 475.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.1513, allocations: 15.88 kB / 475.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1513, allocations: 0 / 475.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1513, allocations: 0 / 475.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1515, allocations: 200.2 kB / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1517, allocations: 92.92 kB / 475.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.1517, allocations: 7.938 kB / 475.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.1518, allocations: 3.984 kB / 475.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.1518, allocations: 7.984 kB / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1518, allocations: 4 kB / 475.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.1521, allocations: 204.2 kB / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1521, allocations: 4 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1524, allocations: 24 kB / 476.1 MB, free: 7.18 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.001162/0.1535, allocations: 466.8 kB / 476.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.1537, allocations: 71.88 kB / 476.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1538, allocations: 0 / 476.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.1538, allocations: 27.98 kB / 476.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1542, allocations: 23.98 kB / 476.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.1547, allocations: 291.8 kB / 477 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.155, allocations: 0.7158 MB / 477.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.1551, allocations: 20.86 kB / 477.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.1551, allocations: 15.44 kB / 477.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1551, allocations: 0 / 477.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of Templates: time 0.005528/0.1607, allocations: 1.731 MB / 479.4 MB, free: 3.973 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches