Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001719/0.00172, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001896, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 81.53 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09865/0.1001, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003116/0.1032, allocations: 1.767 MB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1049, allocations: 1.027 MB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.105, allocations: 7.938 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.1054, allocations: 107.6 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.1057, allocations: 131.5 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.106, allocations: 75.73 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.1062, allocations: 143.6 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1063, allocations: 13.41 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1064, allocations: 67.75 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1065, allocations: 75.75 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1066, allocations: 4 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.1067, allocations: 63.97 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.1068, allocations: 27.91 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.1069, allocations: 55.61 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1071, allocations: 159.7 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1071, allocations: 4 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1071, allocations: 0 / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1071, allocations: 3.938 kB / 483.9 MB, free: 1.453 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006417/0.1078, allocations: 454.7 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1078, allocations: 8.031 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.1079, allocations: 38.73 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.108, allocations: 16.75 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.1083, allocations: 221 kB / 484.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1083, allocations: 12.36 kB / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1083, allocations: 3.938 kB / 484.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.1085, allocations: 81.53 kB / 484.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1086, allocations: 0 / 484.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1086, allocations: 11.98 kB / 484.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1086, allocations: 0 / 484.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1087, allocations: 31.98 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.1092, allocations: 336.6 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.1095, allocations: 74.48 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.1096, allocations: 32.84 kB / 485.1 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1097, allocations: 0 / 485.1 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.11, allocations: 83.38 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.285e-06/0.11, allocations: 3.938 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009458/0.1109, allocations: 304.9 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.111, allocations: 59.39 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.1113, allocations: 259.8 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1113, allocations: 29.7 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1114, allocations: 112.1 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.1115, allocations: 51.3 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.1115, allocations: 25.72 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1117, allocations: 334.8 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.839e-05/0.1118, allocations: 35.98 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.77e-05/0.1119, allocations: 61.69 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.1121, allocations: 97.47 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1121, allocations: 0 / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002646/0.1124, allocations: 166.2 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1124, allocations: 6.5 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1124, allocations: 4.109 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1124, allocations: 7.875 kB / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.1125, allocations: 28.02 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1125, allocations: 7.938 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1126, allocations: 0 / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1126, allocations: 8 kB / 486.8 MB, free: 14.27 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 (16): * Single equations (assignments): 16 * 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.0001188/0.1127, allocations: 137.8 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.1128, allocations: 19.75 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.217e-05/0.1128, allocations: 33.45 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1128, allocations: 0 / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1129, allocations: 0 / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1129, allocations: 4 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.1135, allocations: 0.5076 MB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1135, allocations: 0 / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.1136, allocations: 16 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1136, allocations: 0 / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1136, allocations: 7.984 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1136, allocations: 8 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1136, allocations: 0 / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.1139, allocations: 260.9 kB / 487.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.114, allocations: 88.92 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.114, allocations: 8 kB / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.1141, allocations: 12 kB / 487.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.1141, allocations: 11.98 kB / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.1142, allocations: 7.984 kB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1144, allocations: 197.5 kB / 488.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1144, allocations: 0 / 488.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.1147, allocations: 32 kB / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001757/0.1164, allocations: 1.197 MB / 489.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1167, allocations: 103.9 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1167, allocations: 0 / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.811e-05/0.1168, allocations: 56.09 kB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.1171, allocations: 31.92 kB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.1193, allocations: 1.995 MB / 491.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1196, allocations: 0.7308 MB / 492.2 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.1197, allocations: 29.39 kB / 492.3 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.134e-05/0.1198, allocations: 55.41 kB / 492.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1198, allocations: 0 / 492.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.1396, allocations: 4.242 MB / 496.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.534, allocations: 25.56 kB / 496.6 MB, free: 4.469 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,d_t_new2.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d_t_new.u),der(d_t_new2.u),der(der(t_new.timeScaled)),der(t_new.timeScaled),t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time