Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 75.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.116, allocations: 62.44 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003652/0.1197, allocations: 1.922 MB / 483.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.1217, allocations: 1.129 MB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.1219, allocations: 7.938 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.1224, allocations: 223.3 kB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.1229, allocations: 211.2 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1233, allocations: 119.6 kB / 485.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000418/0.1237, allocations: 255.3 kB / 485.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.1239, allocations: 33.66 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.1241, allocations: 119.5 kB / 485.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.1243, allocations: 155.5 kB / 485.6 MB, free: 376 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.1244, allocations: 16 kB / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.1245, allocations: 63.91 kB / 485.7 MB, free: 296 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.282e-05/0.1246, allocations: 55.78 kB / 485.7 MB, free: 240 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.945e-05/0.1247, allocations: 91.34 kB / 485.8 MB, free: 148 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.1251, allocations: 247 kB / 486.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1251, allocations: 4 kB / 486.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1251, allocations: 0 / 486.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1251, allocations: 0 / 486.1 MB, free: 15.9 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008129/0.1259, allocations: 0.5564 MB / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.126, allocations: 12.03 kB / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.126, allocations: 32.56 kB / 486.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.1265, allocations: 292 kB / 487 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1265, allocations: 4.375 kB / 487 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.1265, allocations: 12.12 kB / 487 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.1268, allocations: 107.3 kB / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1268, allocations: 4 kB / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1269, allocations: 4 kB / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1269, allocations: 4 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.127, allocations: 47.91 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.1276, allocations: 476.8 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.128, allocations: 125.2 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.51e-05/0.1281, allocations: 45.83 kB / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1282, allocations: 0 / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.1284, allocations: 128.5 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 4.709e-06/0.1284, allocations: 0 / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001485/0.1299, allocations: 0.4966 MB / 488.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.13, allocations: 77.11 kB / 488.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.1305, allocations: 444.5 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.1306, allocations: 41.69 kB / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.1307, allocations: 156.5 kB / 489.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.946e-05/0.1308, allocations: 71 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.1309, allocations: 49.58 kB / 489.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1311, allocations: 350.8 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1313, allocations: 55.97 kB / 489.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.1314, allocations: 91.34 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.1318, allocations: 163.5 kB / 489.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1318, allocations: 0 / 489.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005292/0.1323, allocations: 229.2 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.1323, allocations: 11.94 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.1324, allocations: 4.062 kB / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1324, allocations: 0 / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.1326, allocations: 47.91 kB / 490.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1326, allocations: 0 / 490.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.729e-05/0.1327, allocations: 8 kB / 490.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1327, allocations: 8 kB / 490.2 MB, free: 11.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002055/0.1329, allocations: 169.8 kB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.133, allocations: 43.45 kB / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.53e-05/0.1331, allocations: 42.8 kB / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1331, allocations: 8 kB / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1331, allocations: 0 / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1331, allocations: 0 / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009562/0.1341, allocations: 0.7272 MB / 491.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.1341, allocations: 12.12 kB / 491.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.783e-05/0.1342, allocations: 23.98 kB / 491.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1342, allocations: 4 kB / 491.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.1342, allocations: 8 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.1342, allocations: 11.88 kB / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1342, allocations: 0 / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.1347, allocations: 425.1 kB / 491.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.1348, allocations: 104.7 kB / 491.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.1349, allocations: 11.98 kB / 491.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.135, allocations: 8 kB / 491.7 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.1351, allocations: 19.86 kB / 491.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.1352, allocations: 19.98 kB / 491.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003128/0.1355, allocations: 331 kB / 492.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1355, allocations: 0 / 492.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000361/0.1359, allocations: 52 kB / 492.2 MB, free: 9.406 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001234/0.1371, allocations: 0.507 MB / 492.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003805/0.1375, allocations: 167.8 kB / 492.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1375, allocations: 0 / 492.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.1377, allocations: 79.84 kB / 492.9 MB, free: 8.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.1382, allocations: 61.7 kB / 493 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008934/0.1391, allocations: 0.5593 MB / 493.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.1395, allocations: 0.7744 MB / 494.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.1396, allocations: 37.92 kB / 494.3 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.1397, allocations: 35.42 kB / 494.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1397, allocations: 0 / 494.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of Templates: time 0.006948/0.1467, allocations: 3.142 MB / 497.5 MB, free: 4.188 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches