Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1981/0.1981, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 75.75 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1069, allocations: 62.44 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003075/0.11, allocations: 1.718 MB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1116, allocations: 1.029 MB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.1117, allocations: 0 / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.1119, allocations: 39.78 kB / 484.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.1122, allocations: 91.55 kB / 484.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.1125, allocations: 75.72 kB / 484.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1126, allocations: 111.6 kB / 484.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1127, allocations: 8 kB / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.1128, allocations: 47.77 kB / 484.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.1129, allocations: 31.8 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1129, allocations: 4 kB / 484.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.479e-05/0.113, allocations: 51.91 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.1131, allocations: 15.92 kB / 484.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.1132, allocations: 31.81 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.1134, allocations: 115.6 kB / 484.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1134, allocations: 0 / 484.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1134, allocations: 0 / 484.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1134, allocations: 4 kB / 484.8 MB, free: 1.133 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.0005655/0.114, allocations: 407 kB / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.114, allocations: 12.03 kB / 485.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.1141, allocations: 8.844 kB / 485.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.1144, allocations: 208.1 kB / 485.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1144, allocations: 384 / 485.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.1145, allocations: 12.12 kB / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1146, allocations: 53.61 kB / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1147, allocations: 4 kB / 485.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1147, allocations: 4 kB / 485.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1147, allocations: 0 / 485.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-05/0.1148, allocations: 19.98 kB / 485.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.1152, allocations: 288.7 kB / 485.8 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1154, allocations: 62.61 kB / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.1155, allocations: 20.86 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1155, allocations: 0 / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.1157, allocations: 67.38 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1157, allocations: 0 / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000591/0.1163, allocations: 173.2 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1164, allocations: 55.41 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1165, allocations: 174.2 kB / 486.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1166, allocations: 25.7 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.1167, allocations: 96.14 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.1167, allocations: 31.62 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.1168, allocations: 25.72 kB / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1169, allocations: 322.8 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.117, allocations: 19.98 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.91e-05/0.1171, allocations: 45.64 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.1173, allocations: 61.77 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1173, allocations: 0 / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002115/0.1175, allocations: 93.72 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1175, allocations: 8 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1175, allocations: 4.312 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1176, allocations: 0 / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1177, allocations: 27.95 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.1177, allocations: 4 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.1178, allocations: 7.938 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1178, allocations: 4 kB / 487.1 MB, free: 14.6 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.000169/0.118, allocations: 129.8 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.118, allocations: 7.906 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.1181, allocations: 12.72 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1181, allocations: 0 / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1181, allocations: 0 / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.1181, allocations: 15.92 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.1186, allocations: 391.2 kB / 487.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1186, allocations: 0 / 487.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.1187, allocations: 8 kB / 487.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1187, allocations: 0 / 487.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1187, allocations: 7.938 kB / 487.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1187, allocations: 0 / 487.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1187, allocations: 0 / 487.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.119, allocations: 204.3 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.1191, allocations: 85.02 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.1191, allocations: 7.875 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.1192, allocations: 4 kB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.1193, allocations: 3.984 kB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.1193, allocations: 8 kB / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1194, allocations: 131.2 kB / 488.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1194, allocations: 0 / 488.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000295/0.1197, allocations: 27.98 kB / 488.1 MB, free: 13.46 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.00131/0.121, allocations: 451.3 kB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.1213, allocations: 59.91 kB / 488.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1213, allocations: 0 / 488.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.1214, allocations: 28.14 kB / 488.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.1218, allocations: 44.45 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.1225, allocations: 211.2 kB / 488.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.1228, allocations: 0.708 MB / 489.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.679e-05/0.1229, allocations: 12.89 kB / 489.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.123, allocations: 19.42 kB / 489.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.123, allocations: 0 / 489.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004963/0.128, allocations: 1.715 MB / 491.4 MB, free: 10.35 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches