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.0009129/0.0009129, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009775/0.0009777, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1078, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002112/0.11, allocations: 1.47 MB / 484.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1116, allocations: 1.002 MB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.314e-05/0.1117, allocations: 0 / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.1121, allocations: 103.7 kB / 485.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.1124, allocations: 107.7 kB / 485.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1127, allocations: 67.86 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.1129, allocations: 123.7 kB / 486.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.113, allocations: 15.94 kB / 486.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1131, allocations: 51.77 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1132, allocations: 67.75 kB / 486.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1133, allocations: 4 kB / 486.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1134, allocations: 59.97 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.1135, allocations: 31.84 kB / 486.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.1135, allocations: 69.33 kB / 486.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1138, allocations: 155.7 kB / 486.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1138, allocations: 0 / 486.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1138, allocations: 0 / 486.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1138, allocations: 0 / 486.5 MB, free: 0.7188 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.0005436/0.1144, allocations: 430.9 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1144, allocations: 12.88 kB / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.1145, allocations: 34.69 kB / 487 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.1145, allocations: 16.75 kB / 487 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1148, allocations: 228.9 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1148, allocations: 4.375 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.1148, allocations: 7.938 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.115, allocations: 61.66 kB / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.115, allocations: 4 kB / 487.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.115, allocations: 4 kB / 487.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.115, allocations: 4 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.089e-05/0.1151, allocations: 35.86 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.1155, allocations: 324.6 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.1158, allocations: 78.53 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.453e-05/0.1159, allocations: 24.86 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1159, allocations: 8.219 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.1161, allocations: 75.33 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.1161, allocations: 0 / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007742/0.1168, allocations: 265 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.1169, allocations: 59.34 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.1171, allocations: 255.8 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1171, allocations: 33.7 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.1172, allocations: 112 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.1173, allocations: 39.53 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.1173, allocations: 21.7 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1174, allocations: 326.8 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-05/0.1175, allocations: 35.98 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.482e-05/0.1176, allocations: 49.7 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1177, allocations: 97.58 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1177, allocations: 0 / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002273/0.118, allocations: 141.4 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.118, allocations: 4 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.118, allocations: 0 / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.118, allocations: 4 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.508e-05/0.1181, allocations: 23.92 kB / 489.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.1181, allocations: 8.031 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.1182, allocations: 11.92 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1182, allocations: 7.984 kB / 489.3 MB, free: 13.68 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.0001022/0.1183, allocations: 141.7 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.1183, allocations: 19.72 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.1184, allocations: 21.41 kB / 489.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1184, allocations: 15.86 kB / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1184, allocations: 0 / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1184, allocations: 0 / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.1189, allocations: 476 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.119, allocations: 0 / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.119, allocations: 16 kB / 490 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.119, allocations: 4 kB / 490 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.119, allocations: 3.984 kB / 490 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.119, allocations: 4 kB / 490 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1191, allocations: 4.062 kB / 490 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.1193, allocations: 240.9 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.1194, allocations: 92.91 kB / 490.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.1194, allocations: 8 kB / 490.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.1195, allocations: 4 kB / 490.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.1195, allocations: 15.98 kB / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.1196, allocations: 11.92 kB / 490.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.1197, allocations: 193.5 kB / 490.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1197, allocations: 0 / 490.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.12, allocations: 36 kB / 490.6 MB, free: 12.29 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.001542/0.1216, allocations: 1.19 MB / 491.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1218, allocations: 87.91 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1218, allocations: 0 / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.1219, allocations: 43.92 kB / 491.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1223, allocations: 32.17 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.1242, allocations: 1.971 MB / 493.9 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.1244, allocations: 0.7243 MB / 494.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.392e-05/0.1245, allocations: 25.06 kB / 494.6 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.1246, allocations: 51.42 kB / 494.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1246, allocations: 0 / 494.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.041/1.165, allocations: 3.724 MB / 498.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/1.166, allocations: 231.5 kB / 498.6 MB, free: 4.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/3.33, allocations: 4 kB / 498.6 MB, free: 4.344 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