Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, 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.001581/0.001581, 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.316/1.316, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2112/0.2112, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 85.11 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1139, allocations: 62.43 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003124/0.1171, allocations: 1.93 MB / 483.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.1188, allocations: 1.123 MB / 484.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.953e-05/0.1189, allocations: 11.94 kB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.1193, allocations: 163.5 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.1197, allocations: 175.3 kB / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.1199, allocations: 115.6 kB / 485 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.1202, allocations: 247.3 kB / 485.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1204, allocations: 29.69 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.1205, allocations: 111.5 kB / 485.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.1207, allocations: 135.5 kB / 485.5 MB, free: 488 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1207, allocations: 8 kB / 485.5 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.1208, allocations: 55.98 kB / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.1209, allocations: 55.77 kB / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.133e-05/0.121, allocations: 87.34 kB / 485.7 MB, free: 280 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1213, allocations: 235.2 kB / 485.9 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1213, allocations: 3.938 kB / 485.9 MB, free: 40 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1213, allocations: 0 / 485.9 MB, free: 40 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1213, allocations: 0 / 485.9 MB, free: 40 kB / 350.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.0006829/0.122, allocations: 0.5293 MB / 486.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.122, allocations: 8.031 kB / 486.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.1221, allocations: 28.64 kB / 486.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.1224, allocations: 279.4 kB / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1225, allocations: 16.36 kB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.1225, allocations: 8.125 kB / 486.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.1227, allocations: 111.3 kB / 486.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1227, allocations: 0 / 486.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1228, allocations: 4 kB / 486.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1228, allocations: 4 kB / 486.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.1229, allocations: 43.91 kB / 486.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.1234, allocations: 468.8 kB / 487.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.1238, allocations: 133.1 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.622e-05/0.1239, allocations: 45.83 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1239, allocations: 0 / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.1242, allocations: 125 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1242, allocations: 0 / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001255/0.1254, allocations: 492.9 kB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1255, allocations: 81.05 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.1259, allocations: 371.3 kB / 488.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1259, allocations: 29.7 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.126, allocations: 148.5 kB / 488.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.1261, allocations: 71.08 kB / 488.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.1261, allocations: 45.7 kB / 488.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1263, allocations: 342.8 kB / 489.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1264, allocations: 59.97 kB / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1265, allocations: 91.34 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.1268, allocations: 159.3 kB / 489.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1268, allocations: 0 / 489.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003679/0.1272, allocations: 229.3 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1272, allocations: 7.938 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1272, allocations: 4 kB / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1272, allocations: 0 / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.1274, allocations: 47.91 kB / 489.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1274, allocations: 0 / 489.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.185e-05/0.1275, allocations: 16 kB / 489.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1275, allocations: 8 kB / 489.8 MB, free: 11.81 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.0001341/0.1276, allocations: 157.8 kB / 490 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.1277, allocations: 39.5 kB / 490 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.1278, allocations: 33.83 kB / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1278, allocations: 4 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/0.1278, allocations: 0 / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1278, allocations: 3.984 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008691/0.1287, allocations: 0.7272 MB / 490.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1287, allocations: 0 / 490.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.804e-05/0.1288, allocations: 27.98 kB / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.1288, allocations: 11.98 kB / 490.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1288, allocations: 8 kB / 490.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1288, allocations: 4.125 kB / 490.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1288, allocations: 7.938 kB / 490.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.1293, allocations: 421.3 kB / 491.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.1294, allocations: 96.83 kB / 491.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.1294, allocations: 11.98 kB / 491.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1296, allocations: 8 kB / 491.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.1296, allocations: 23.86 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.1297, allocations: 15.98 kB / 491.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.1299, allocations: 273.9 kB / 491.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1299, allocations: 0 / 491.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003373/0.1303, allocations: 51.98 kB / 491.7 MB, free: 9.789 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.001142/0.1314, allocations: 0.5054 MB / 492.2 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.1318, allocations: 163.7 kB / 492.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1318, allocations: 0 / 492.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.1319, allocations: 79.91 kB / 492.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.1325, allocations: 68.97 kB / 492.6 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000835/0.1333, allocations: 0.4886 MB / 493 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.1337, allocations: 0.764 MB / 493.8 MB, free: 7.844 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.1338, allocations: 45.86 kB / 493.8 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.1339, allocations: 35.42 kB / 493.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1339, allocations: 0 / 493.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of Templates: time 0.007016/0.1409, allocations: 3.111 MB / 497 MB, free: 4.684 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches