Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, 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.001093/0.001094, 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.294/1.294, 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.2072/0.2072, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 75.89 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1026, allocations: 62.44 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002768/0.1054, allocations: 1.746 MB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1068, allocations: 1.013 MB / 484.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.1069, allocations: 0 / 484.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1071, allocations: 59.75 kB / 484.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.1074, allocations: 107.5 kB / 484.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.1076, allocations: 67.73 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.1078, allocations: 111.6 kB / 484.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.1079, allocations: 15.98 kB / 484.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.354e-05/0.108, allocations: 39.78 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.108, allocations: 31.8 kB / 484.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1081, allocations: 4 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.1081, allocations: 43.98 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.1082, allocations: 35.89 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.1083, allocations: 35.69 kB / 484.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.1085, allocations: 143.4 kB / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1085, allocations: 4 kB / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1085, allocations: 0 / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1085, allocations: 4 kB / 484.9 MB, free: 1.074 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.0004633/0.109, allocations: 434.7 kB / 485.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.109, allocations: 8.031 kB / 485.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.109, allocations: 20.83 kB / 485.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.1093, allocations: 224.9 kB / 485.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1093, allocations: 384 / 485.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1093, allocations: 8.125 kB / 485.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1095, allocations: 57.61 kB / 485.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1095, allocations: 4 kB / 485.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1095, allocations: 0 / 485.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.1095, allocations: 0 / 485.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.937e-05/0.1096, allocations: 23.98 kB / 485.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.1099, allocations: 296.9 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.1101, allocations: 50.62 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.1101, allocations: 28.84 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1102, allocations: 7.875 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.1103, allocations: 63.39 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1103, allocations: 0 / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004758/0.1108, allocations: 196.9 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.1108, allocations: 55.41 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.111, allocations: 271 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1111, allocations: 25.7 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.1111, allocations: 112.1 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.1112, allocations: 23.7 kB / 486.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.1112, allocations: 25.72 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.1113, allocations: 330.8 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.251e-05/0.1114, allocations: 20 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.766e-05/0.1114, allocations: 41.64 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1116, allocations: 61.77 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1116, allocations: 0 / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001684/0.1117, allocations: 105.4 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1118, allocations: 8 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1118, allocations: 3.984 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1118, allocations: 0 / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.1119, allocations: 16.03 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1119, allocations: 4 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.1119, allocations: 11.88 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.112, allocations: 7.984 kB / 487.4 MB, free: 14.34 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 9.662e-05/0.1121, allocations: 137.8 kB / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.1121, allocations: 15.81 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.1121, allocations: 13.41 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1121, allocations: 4 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1122, allocations: 0 / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1122, allocations: 11.92 kB / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.1126, allocations: 399.3 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1126, allocations: 3.984 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.1126, allocations: 8 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1127, allocations: 4 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1127, allocations: 3.938 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1127, allocations: 0 / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1127, allocations: 3.938 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.1129, allocations: 212.4 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.113, allocations: 92.91 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.113, allocations: 7.875 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.1131, allocations: 8 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.1131, allocations: 8.359 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1131, allocations: 4 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1133, allocations: 204.4 kB / 488.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1133, allocations: 0 / 488.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1135, allocations: 31.98 kB / 488.5 MB, free: 13.08 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.0009187/0.1145, allocations: 453.8 kB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.1146, allocations: 59.91 kB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1147, allocations: 0 / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.1147, allocations: 35.86 kB / 489.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.115, allocations: 32.53 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.1155, allocations: 295.6 kB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1158, allocations: 0.7198 MB / 490.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.384e-05/0.1158, allocations: 12.88 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.1159, allocations: 15.44 kB / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1159, allocations: 0 / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of Templates: time 0.003975/0.1198, allocations: 1.769 MB / 491.9 MB, free: 9.836 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches