Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 104 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.001251/0.001251, allocations: 192.1 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.392/1.392, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.2347/0.2347, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.84 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1387, allocations: 60.83 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.004194/0.1429, allocations: 1.7 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1446, allocations: 0.8769 MB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.761e-05/0.1447, allocations: 0 / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.145, allocations: 35.84 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1453, allocations: 59.69 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.1457, allocations: 119.1 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1459, allocations: 99.69 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.146, allocations: 4.234 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1461, allocations: 47.72 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.1462, allocations: 27.86 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1462, allocations: 4 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1464, allocations: 35.98 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.1464, allocations: 23.91 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.1465, allocations: 43.73 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.1467, allocations: 115.9 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1467, allocations: 0 / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1467, allocations: 3.938 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1467, allocations: 4 kB / 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.0005823/0.1473, allocations: 407 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1474, allocations: 11.97 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.1474, allocations: 16.83 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1477, allocations: 202.7 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1477, allocations: 12.38 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1477, allocations: 4.125 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1479, allocations: 57.67 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1479, allocations: 11.97 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1479, allocations: 3.938 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1479, allocations: 0 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.528e-05/0.148, allocations: 19.98 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.1484, allocations: 284.8 kB / 473.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1485, allocations: 58.69 kB / 473.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.728e-05/0.1486, allocations: 24.78 kB / 473.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1487, allocations: 0 / 473.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.1489, allocations: 67.39 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1489, allocations: 4 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005337/0.1494, allocations: 173.1 kB / 473.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.1495, allocations: 51.41 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.1497, allocations: 203.3 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1497, allocations: 25.7 kB / 474.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.1498, allocations: 104.1 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1498, allocations: 19.72 kB / 474.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.1498, allocations: 25.7 kB / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.15, allocations: 330.8 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.15, allocations: 23.98 kB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-05/0.1501, allocations: 33.66 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1503, allocations: 61.62 kB / 474.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1503, allocations: 0 / 474.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002893/0.1506, allocations: 109.5 kB / 474.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1506, allocations: 4 kB / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1506, allocations: 0 / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1506, allocations: 4 kB / 474.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1508, allocations: 12 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1508, allocations: 0 / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.1509, allocations: 15.86 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1509, allocations: 4 kB / 474.8 MB, free: 8.562 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.0001387/0.151, allocations: 121.8 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.1511, allocations: 19.83 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.1511, allocations: 17.41 kB / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1511, allocations: 3.938 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1512, allocations: 384 / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1512, allocations: 3.938 kB / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.1518, allocations: 387.4 kB / 475.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.1518, allocations: 11.92 kB / 475.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.1519, allocations: 8 kB / 475.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1519, allocations: 4.031 kB / 475.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1519, allocations: 11.94 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1519, allocations: 0 / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1519, allocations: 0 / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.1522, allocations: 196.4 kB / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.1523, allocations: 89 kB / 475.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.1524, allocations: 7.938 kB / 475.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1525, allocations: 8 kB / 475.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.1526, allocations: 11.92 kB / 475.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.1526, allocations: 4 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1528, allocations: 147.9 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1528, allocations: 0 / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.153, allocations: 24 kB / 475.8 MB, free: 7.402 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.001003/0.154, allocations: 475.7 kB / 476.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1542, allocations: 63.89 kB / 476.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1542, allocations: 0 / 476.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.1543, allocations: 27.98 kB / 476.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1547, allocations: 39.7 kB / 476.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.1551, allocations: 235.1 kB / 476.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1555, allocations: 0.708 MB / 477.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.148e-05/0.1555, allocations: 13.19 kB / 477.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.1556, allocations: 15.44 kB / 477.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1556, allocations: 0 / 477.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of Templates: time 0.004698/0.1603, allocations: 1.716 MB / 479.1 MB, free: 4.266 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches