Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001333, 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.001465/0.001465, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2136/0.2136, allocations: 46.09 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 80.3 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.112, allocations: 62.46 MB / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00362/0.1156, allocations: 1.723 MB / 482.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1174, allocations: 1.025 MB / 483.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1176, allocations: 4 kB / 483.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.1179, allocations: 35.77 kB / 483.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.1183, allocations: 91.59 kB / 483.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1186, allocations: 83.67 kB / 483.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1188, allocations: 103.7 kB / 483.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.119, allocations: 19.98 kB / 483.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1191, allocations: 43.73 kB / 483.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.602e-05/0.1192, allocations: 31.78 kB / 483.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1192, allocations: 4 kB / 483.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1193, allocations: 39.98 kB / 483.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.1194, allocations: 19.92 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.1195, allocations: 43.73 kB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.1197, allocations: 119.9 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1197, allocations: 0 / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1197, allocations: 0 / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1198, allocations: 4 kB / 484.1 MB, free: 1.871 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.0006033/0.1204, allocations: 414.9 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1204, allocations: 8.031 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.1205, allocations: 12.84 kB / 484.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1207, allocations: 216.7 kB / 484.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1208, allocations: 4.375 kB / 484.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.1208, allocations: 12.06 kB / 484.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.121, allocations: 53.67 kB / 484.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.121, allocations: 0 / 484.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.121, allocations: 0 / 484.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.121, allocations: 0 / 484.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.422e-05/0.1211, allocations: 23.92 kB / 484.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.1216, allocations: 288.8 kB / 485.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.1217, allocations: 62.67 kB / 485.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.1218, allocations: 16.86 kB / 485.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1218, allocations: 4 kB / 485.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.1221, allocations: 71.31 kB / 485.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1221, allocations: 4 kB / 485.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005848/0.1227, allocations: 165.2 kB / 485.4 MB, free: 380 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.1227, allocations: 55.41 kB / 485.5 MB, free: 312 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1229, allocations: 194.4 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.123, allocations: 25.7 kB / 485.7 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.1231, allocations: 112.1 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1231, allocations: 23.7 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.1232, allocations: 17.72 kB / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1233, allocations: 330.8 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.165e-05/0.1234, allocations: 23.98 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.1235, allocations: 33.7 kB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1236, allocations: 65.64 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1236, allocations: 0 / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001869/0.1238, allocations: 105.4 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1238, allocations: 8 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1238, allocations: 0 / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1238, allocations: 0 / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.997e-05/0.1239, allocations: 16.36 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.124, allocations: 4 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.124, allocations: 7.938 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.124, allocations: 8 kB / 486.4 MB, free: 15.3 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.0001006/0.1241, allocations: 121.8 kB / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.1242, allocations: 15.94 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.1242, allocations: 17.34 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1242, allocations: 0 / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1242, allocations: 192 / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1242, allocations: 7.922 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.1247, allocations: 399.2 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1247, allocations: 0 / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.1248, allocations: 15.94 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1248, allocations: 4.031 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1248, allocations: 11.92 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1248, allocations: 0 / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1248, allocations: 0 / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.1251, allocations: 200.5 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.1251, allocations: 88.92 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.1252, allocations: 7.938 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.1252, allocations: 4 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.1253, allocations: 7.984 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1253, allocations: 11.94 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.1254, allocations: 144.2 kB / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1254, allocations: 0 / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1257, allocations: 24 kB / 487.5 MB, free: 14.13 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.001036/0.1267, allocations: 471 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.1269, allocations: 59.92 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1269, allocations: 0 / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.162e-05/0.127, allocations: 27.97 kB / 488 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1274, allocations: 35.59 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.1279, allocations: 260.6 kB / 488.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1282, allocations: 0.708 MB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.1282, allocations: 15.44 kB / 489 MB, free: 12.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1282, allocations: 0 / 489 MB, free: 12.67 MB / 366.1 MB Notification: Performance of Templates: time 0.003745/0.132, allocations: 1.962 MB / 491 MB, free: 10.71 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches