Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001206/0.001206, allocations: 114.7 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.001332/0.001332, allocations: 200.6 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.314/1.314, 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.2101/0.2101, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 79.86 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1066, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003354/0.11, allocations: 1.945 MB / 483.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1116, allocations: 1.052 MB / 484.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.1118, allocations: 4 kB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.1121, allocations: 47.7 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.1124, allocations: 103.5 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1127, allocations: 91.66 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.113, allocations: 147.6 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1131, allocations: 25.56 kB / 484.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1132, allocations: 59.7 kB / 484.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.374e-05/0.1133, allocations: 51.7 kB / 485 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1133, allocations: 8 kB / 485 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1134, allocations: 43.98 kB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.1135, allocations: 31.8 kB / 485.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.1136, allocations: 55.66 kB / 485.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1138, allocations: 147.5 kB / 485.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1138, allocations: 0 / 485.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1138, allocations: 0 / 485.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1138, allocations: 8 kB / 485.3 MB, free: 0.6992 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005767/0.1144, allocations: 496.3 kB / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1145, allocations: 8.031 kB / 485.8 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.1145, allocations: 16.75 kB / 485.8 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.1148, allocations: 233.6 kB / 486 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1149, allocations: 384 / 486 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1149, allocations: 20.06 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.1151, allocations: 108.2 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1151, allocations: 0 / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1152, allocations: 4 kB / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1152, allocations: 4 kB / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1153, allocations: 51.91 kB / 486.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.1159, allocations: 0.5048 MB / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.1162, allocations: 90.61 kB / 486.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.178e-05/0.1164, allocations: 40.83 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1164, allocations: 4 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.1166, allocations: 79.38 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1166, allocations: 0 / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003988/0.117, allocations: 145.4 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.117, allocations: 59.28 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.1172, allocations: 207 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1173, allocations: 29.7 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.1173, allocations: 112 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.1174, allocations: 31.56 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.1174, allocations: 25.7 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1175, allocations: 326.8 kB / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.039e-05/0.1176, allocations: 27.98 kB / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-05/0.1177, allocations: 72.27 kB / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.1179, allocations: 100.5 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1179, allocations: 0 / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002626/0.1182, allocations: 133.3 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1182, allocations: 7.938 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1182, allocations: 4 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1182, allocations: 0 / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1184, allocations: 39.86 kB / 488.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1184, allocations: 0 / 488.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.1184, allocations: 16.06 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1185, allocations: 4 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001029/0.1186, allocations: 129.8 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.1186, allocations: 15.81 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.1187, allocations: 17.41 kB / 488.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1187, allocations: 3.938 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1187, allocations: 3.984 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1187, allocations: 0 / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.1189, allocations: 217.5 kB / 488.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1189, allocations: 4 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.285e-05/0.119, allocations: 8 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.119, allocations: 0 / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.119, allocations: 7.984 kB / 488.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.119, allocations: 3.938 kB / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.119, allocations: 0 / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.1193, allocations: 176.9 kB / 488.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.1194, allocations: 92.89 kB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.1194, allocations: 7.984 kB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-05/0.1195, allocations: 8.125 kB / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1195, allocations: 7.984 kB / 488.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1196, allocations: 11.94 kB / 488.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1197, allocations: 140.4 kB / 489.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1197, allocations: 0 / 489.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1199, allocations: 24 kB / 489.1 MB, free: 12.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0008935/0.1208, allocations: 407.9 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.1211, allocations: 79.89 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1211, allocations: 0 / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1212, allocations: 39.92 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.1215, allocations: 42.97 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.1221, allocations: 259.8 kB / 489.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1223, allocations: 0.7162 MB / 490.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.671e-05/0.1224, allocations: 25.39 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.1225, allocations: 23.42 kB / 490.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1225, allocations: 0 / 490.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of Templates: time 0.00528/0.1278, allocations: 1.895 MB / 492.5 MB, free: 9.141 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches