Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.2 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.0002892, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1152, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002217/0.1175, allocations: 1.446 MB / 484.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1192, allocations: 0.9863 MB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.1194, allocations: 4 kB / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.1197, allocations: 47.81 kB / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.12, allocations: 79.73 kB / 485.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1203, allocations: 59.88 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1205, allocations: 103.6 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.877e-05/0.1206, allocations: 16 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1207, allocations: 39.78 kB / 485.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.78e-05/0.1208, allocations: 35.78 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1208, allocations: 0 / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1209, allocations: 43.98 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.121, allocations: 27.84 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.1211, allocations: 53.45 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1213, allocations: 115.9 kB / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1213, allocations: 0 / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1213, allocations: 0 / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1213, allocations: 4 kB / 486.1 MB, free: 1.082 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.0005376/0.1218, allocations: 411 kB / 486.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1219, allocations: 8.875 kB / 486.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.1219, allocations: 12.84 kB / 486.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.1222, allocations: 215.9 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1222, allocations: 384 / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.1223, allocations: 12.12 kB / 486.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1224, allocations: 49.67 kB / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1224, allocations: 4 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1224, allocations: 4 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1224, allocations: 0 / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.1225, allocations: 19.98 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.1229, allocations: 288.9 kB / 487.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1231, allocations: 62.61 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.1232, allocations: 24.84 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1232, allocations: 0 / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.1234, allocations: 67.39 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1234, allocations: 3.938 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006293/0.124, allocations: 181 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1241, allocations: 55.41 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.1244, allocations: 202.9 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1244, allocations: 33.7 kB / 487.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.1245, allocations: 100.1 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.1245, allocations: 31.62 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.1246, allocations: 17.72 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1247, allocations: 330.8 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.773e-05/0.1248, allocations: 19.92 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.1248, allocations: 41.7 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.125, allocations: 53.72 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.125, allocations: 0 / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.1252, allocations: 109.5 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1252, allocations: 4 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1252, allocations: 0 / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1252, allocations: 4 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/0.1253, allocations: 20.02 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1253, allocations: 3.938 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.1254, allocations: 11.94 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1254, allocations: 0 / 488.5 MB, free: 14.49 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.0001079/0.1255, allocations: 133.8 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.1255, allocations: 7.906 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.1256, allocations: 17.41 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1256, allocations: 0 / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1256, allocations: 0 / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.1256, allocations: 11.92 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.1261, allocations: 391.3 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1261, allocations: 4 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.1261, allocations: 4 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1261, allocations: 4 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1262, allocations: 7.922 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1262, allocations: 0 / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1262, allocations: 4 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1264, allocations: 208.2 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.1265, allocations: 88.92 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.1265, allocations: 12.11 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.1266, allocations: 4 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.1267, allocations: 8.312 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.1267, allocations: 3.984 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1268, allocations: 164.3 kB / 489.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1268, allocations: 0 / 489.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1271, allocations: 20 kB / 489.6 MB, free: 13.31 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.001164/0.1283, allocations: 463 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1285, allocations: 63.89 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1285, allocations: 0 / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.1286, allocations: 31.92 kB / 490.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1289, allocations: 27.92 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.1294, allocations: 266.3 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1298, allocations: 0.716 MB / 491.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.1299, allocations: 16.88 kB / 491.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.1299, allocations: 15.44 kB / 491.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1299, allocations: 0 / 491.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of Templates: time 0.004699/0.1346, allocations: 1.641 MB / 492.8 MB, free: 10.2 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches