Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 115.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 199.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, 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.2092/0.2092, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.123, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002942/0.126, allocations: 1.692 MB / 483.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1275, allocations: 1.008 MB / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.1276, allocations: 0 / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.1279, allocations: 51.77 kB / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.1282, allocations: 95.59 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.1284, allocations: 83.66 kB / 484.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1285, allocations: 95.7 kB / 484.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.1286, allocations: 8.219 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.639e-05/0.1287, allocations: 43.78 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.89e-05/0.1287, allocations: 23.86 kB / 484.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1288, allocations: 7.938 kB / 484.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.703e-05/0.1288, allocations: 27.98 kB / 484.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.1289, allocations: 31.84 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.129, allocations: 43.67 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1292, allocations: 127.6 kB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1292, allocations: 0 / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1292, allocations: 0 / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1292, allocations: 0 / 484.8 MB, free: 1.184 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004824/0.1297, allocations: 426.8 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1297, allocations: 12.03 kB / 485.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.1298, allocations: 12.75 kB / 485.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.13, allocations: 232.8 kB / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1301, allocations: 8.359 kB / 485.5 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1301, allocations: 12.06 kB / 485.5 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1302, allocations: 45.67 kB / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.1302, allocations: 0 / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1303, allocations: 0 / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1303, allocations: 0 / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.146e-05/0.1303, allocations: 15.98 kB / 485.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.1305, allocations: 193.7 kB / 485.7 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1307, allocations: 54.56 kB / 485.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.1307, allocations: 24.78 kB / 485.8 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1308, allocations: 0 / 485.8 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.1309, allocations: 71.39 kB / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1309, allocations: 0 / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002703/0.1312, allocations: 105.4 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.1313, allocations: 51.41 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.1315, allocations: 271 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1315, allocations: 25.7 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.1316, allocations: 116.1 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.1316, allocations: 7.906 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1317, allocations: 17.72 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1318, allocations: 330.8 kB / 486.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.743e-05/0.1319, allocations: 19.94 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.1319, allocations: 25.7 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.646e-05/0.132, allocations: 49.64 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.132, allocations: 0 / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001456/0.1322, allocations: 85.44 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1322, allocations: 4 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1322, allocations: 4.031 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1322, allocations: 4 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.704e-05/0.1323, allocations: 11.94 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1323, allocations: 160 / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.1324, allocations: 19.83 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1324, allocations: 0 / 487 MB, free: 14.73 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 (7): * Single equations (assignments): 7 * 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.0001222/0.1325, allocations: 133.8 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.1326, allocations: 11.91 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.1326, allocations: 20.97 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1326, allocations: 8 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1326, allocations: 3.938 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1326, allocations: 0 / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.1328, allocations: 205.5 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1328, allocations: 0 / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.1328, allocations: 4 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1329, allocations: 320 / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.1329, allocations: 4 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1329, allocations: 4 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1329, allocations: 0 / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.1331, allocations: 116.9 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.1331, allocations: 88.92 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1332, allocations: 7.984 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.1332, allocations: 7.984 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.1332, allocations: 0 / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1333, allocations: 4 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1334, allocations: 208.4 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1334, allocations: 0 / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.1337, allocations: 20 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009542/0.1346, allocations: 398.7 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.1348, allocations: 43.92 kB / 488.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1348, allocations: 0 / 488.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.1349, allocations: 19.98 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.1351, allocations: 26.92 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.1356, allocations: 274.5 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1358, allocations: 0.7166 MB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.301e-05/0.1359, allocations: 12.55 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.1359, allocations: 11.44 kB / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1359, allocations: 3.938 kB / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of Templates: time 0.003911/0.1398, allocations: 1.533 MB / 490.9 MB, free: 10.88 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches