Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001875/0.001875, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00224/0.00224, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2453/0.2453, allocations: 46.12 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 82.14 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1352, allocations: 62.45 MB / 480.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.005545/0.1408, allocations: 1.723 MB / 482.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.1441, allocations: 1.021 MB / 483.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.1443, allocations: 7.938 kB / 483.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.1447, allocations: 43.75 kB / 483.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005512/0.1453, allocations: 99.53 kB / 483.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.1456, allocations: 75.67 kB / 483.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1459, allocations: 103.7 kB / 483.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1461, allocations: 16 kB / 483.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1463, allocations: 39.8 kB / 483.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1464, allocations: 39.77 kB / 483.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.1464, allocations: 4 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.1466, allocations: 39.98 kB / 484 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.1467, allocations: 27.84 kB / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1469, allocations: 39.73 kB / 484 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.1472, allocations: 115.9 kB / 484.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1472, allocations: 4 kB / 484.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1473, allocations: 4 kB / 484.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1473, allocations: 0 / 484.2 MB, free: 1.824 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.000833/0.1481, allocations: 414.9 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1482, allocations: 12.03 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.1483, allocations: 8.844 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.1487, allocations: 223.9 kB / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1487, allocations: 4.375 kB / 484.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1488, allocations: 8.125 kB / 484.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.149, allocations: 53.67 kB / 484.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.1491, allocations: 3.984 kB / 484.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1491, allocations: 0 / 484.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1491, allocations: 4 kB / 484.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1493, allocations: 15.98 kB / 484.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.1499, allocations: 288.9 kB / 485.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.1502, allocations: 66.61 kB / 485.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1503, allocations: 16.86 kB / 485.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1503, allocations: 0 / 485.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.1507, allocations: 67.39 kB / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.635e-06/0.1507, allocations: 0 / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009465/0.1516, allocations: 181 kB / 485.5 MB, free: 320 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.1517, allocations: 51.41 kB / 485.6 MB, free: 256 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.1521, allocations: 206.3 kB / 485.8 MB, free: 40 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.1522, allocations: 29.7 kB / 485.8 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1523, allocations: 100.1 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.1524, allocations: 27.69 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.1525, allocations: 25.59 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.1527, allocations: 334.8 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1528, allocations: 24 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.153, allocations: 37.64 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.1533, allocations: 57.7 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1533, allocations: 0 / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00037/0.1537, allocations: 101.4 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.1537, allocations: 10.34 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.1537, allocations: 4.031 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.1538, allocations: 0 / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.154, allocations: 15.98 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.154, allocations: 8.312 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-05/0.1541, allocations: 3.938 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1541, allocations: 4 kB / 486.5 MB, free: 15.23 MB / 366.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.0002067/0.1544, allocations: 129.8 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.1544, allocations: 15.91 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.511e-05/0.1545, allocations: 21.39 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.1546, allocations: 4 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1546, allocations: 0 / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.1546, allocations: 3.938 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.1555, allocations: 395.2 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1555, allocations: 0 / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.1556, allocations: 11.98 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1556, allocations: 0 / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1556, allocations: 15.97 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1556, allocations: 0 / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1557, allocations: 0 / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.1561, allocations: 200.5 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1562, allocations: 96.89 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.1563, allocations: 7.938 kB / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.1564, allocations: 4 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.1565, allocations: 8 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.1566, allocations: 7.984 kB / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002601/0.1568, allocations: 160.8 kB / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.1569, allocations: 0 / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005249/0.1574, allocations: 28 kB / 487.6 MB, free: 14.04 MB / 366.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.002785/0.1602, allocations: 450.2 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003518/0.1606, allocations: 71.89 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1606, allocations: 0 / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.1608, allocations: 31.92 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.1614, allocations: 26.8 kB / 488.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008014/0.1622, allocations: 268.8 kB / 488.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.1628, allocations: 0.708 MB / 489.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.1629, allocations: 23.38 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1629, allocations: 0 / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of Templates: time 0.007333/0.1702, allocations: 1.966 MB / 491.1 MB, free: 10.61 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches