Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 76.81 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1081, allocations: 62.45 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00319/0.1114, allocations: 1.752 MB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.113, allocations: 1.021 MB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.546e-05/0.1132, allocations: 4 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.1135, allocations: 111.7 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.1139, allocations: 123.5 kB / 483.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.1142, allocations: 79.72 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.1144, allocations: 131.6 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1145, allocations: 23.97 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1146, allocations: 59.77 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1147, allocations: 67.75 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1148, allocations: 4 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.1149, allocations: 63.95 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.115, allocations: 31.86 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.995e-05/0.1151, allocations: 47.67 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.1153, allocations: 159.7 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1153, allocations: 3.938 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1153, allocations: 4 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1153, allocations: 4 kB / 483.8 MB, free: 1.477 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005507/0.1159, allocations: 442.7 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1159, allocations: 12.03 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.116, allocations: 34.73 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.116, allocations: 16.75 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1163, allocations: 221 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1163, allocations: 8.312 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1163, allocations: 11.92 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1165, allocations: 69.61 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1165, allocations: 0 / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1166, allocations: 4 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1166, allocations: 0 / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.723e-05/0.1167, allocations: 31.97 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1171, allocations: 324.6 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.1173, allocations: 74.55 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.1174, allocations: 28.84 kB / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1174, allocations: 0 / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.1177, allocations: 87.45 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.1177, allocations: 0 / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008468/0.1186, allocations: 269 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.1186, allocations: 59.34 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.119, allocations: 251.8 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.119, allocations: 33.7 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.1191, allocations: 112.1 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.1191, allocations: 35.45 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.1192, allocations: 29.72 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1194, allocations: 334.8 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/0.1195, allocations: 35.98 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.747e-05/0.1196, allocations: 45.7 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.1198, allocations: 97.62 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1198, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002973/0.1201, allocations: 141.5 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.1201, allocations: 7.938 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1201, allocations: 4.031 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1202, allocations: 0 / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1203, allocations: 27.92 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1203, allocations: 0 / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.1204, allocations: 7.938 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1204, allocations: 8 kB / 486.6 MB, free: 14.43 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 (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.0001461/0.1205, allocations: 133.8 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.1206, allocations: 23.73 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.295e-05/0.1207, allocations: 25.41 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.1207, allocations: 3.938 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1207, allocations: 3.938 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1207, allocations: 3.984 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008097/0.1215, allocations: 479.9 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1216, allocations: 3.938 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.505e-05/0.1216, allocations: 16 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1217, allocations: 8.047 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.1217, allocations: 8 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1217, allocations: 0.7031 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1217, allocations: 3.984 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.1221, allocations: 244.9 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.1222, allocations: 96.91 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.1223, allocations: 4 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.1224, allocations: 4 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.1224, allocations: 7.984 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.1225, allocations: 8 kB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.1226, allocations: 197.4 kB / 487.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1227, allocations: 0 / 487.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000326/0.123, allocations: 35.98 kB / 487.9 MB, free: 13.03 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 (12): * Single equations (assignments): 10 * 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.001568/0.1246, allocations: 1.185 MB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.1248, allocations: 87.91 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1248, allocations: 4.062 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.1249, allocations: 51.91 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.1253, allocations: 38.89 kB / 489.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.1277, allocations: 1.937 MB / 491.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1281, allocations: 0.7279 MB / 491.9 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.695e-05/0.1282, allocations: 25.06 kB / 492 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.1283, allocations: 47.42 kB / 492 MB, free: 8.965 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1283, allocations: 4 kB / 492 MB, free: 8.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.1502, allocations: 4.095 MB / 496.1 MB, free: 4.934 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/7.683, allocations: 13.36 kB / 496.1 MB, free: 4.926 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.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