Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 104.8 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2737/0.2737, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 81.06 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.122, allocations: 62.45 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003636/0.1257, allocations: 1.816 MB / 481.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1276, allocations: 1.025 MB / 482.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1278, allocations: 0 / 482.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.1282, allocations: 99.8 kB / 482.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.1285, allocations: 111.6 kB / 482.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.1288, allocations: 67.86 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.129, allocations: 111.7 kB / 482.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1292, allocations: 19.94 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1293, allocations: 55.7 kB / 482.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1294, allocations: 71.73 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.1294, allocations: 4 kB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1296, allocations: 51.98 kB / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.1297, allocations: 27.84 kB / 482.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.1297, allocations: 47.67 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.13, allocations: 139.8 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.13, allocations: 0 / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.13, allocations: 0 / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.13, allocations: 4 kB / 483 MB, free: 1.957 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006197/0.1306, allocations: 442.8 kB / 483.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1307, allocations: 8.875 kB / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.1307, allocations: 34.75 kB / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.1308, allocations: 16.75 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.1311, allocations: 216 kB / 483.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1311, allocations: 8.312 kB / 483.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.1312, allocations: 11.92 kB / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1313, allocations: 65.61 kB / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1313, allocations: 0 / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1313, allocations: 0 / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1314, allocations: 0 / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.1314, allocations: 23.98 kB / 483.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.1319, allocations: 308.7 kB / 484.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.1321, allocations: 66.48 kB / 484.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.1322, allocations: 24.97 kB / 484.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1322, allocations: 0 / 484.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.1324, allocations: 67.39 kB / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.1324, allocations: 0 / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000771/0.1332, allocations: 253.4 kB / 484.5 MB, free: 268 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.1333, allocations: 63.28 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.1335, allocations: 247.2 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1335, allocations: 29.7 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.1336, allocations: 112.1 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.1336, allocations: 31.55 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.1337, allocations: 29.72 kB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1338, allocations: 326.8 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.217e-05/0.1339, allocations: 31.98 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.004e-05/0.134, allocations: 45.64 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.1341, allocations: 77.7 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1341, allocations: 0 / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002381/0.1344, allocations: 133.5 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1344, allocations: 11.94 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1344, allocations: 32 / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1344, allocations: 4 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.1345, allocations: 27.86 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.1345, allocations: 4 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1346, allocations: 4 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1346, allocations: 4 kB / 485.7 MB, free: 15.04 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 (13): * Single equations (assignments): 13 * 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.000122/0.1347, allocations: 137.8 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.1348, allocations: 15.75 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.1348, allocations: 25.38 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.1348, allocations: 11.94 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.1349, allocations: 0 / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1349, allocations: 0 / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.1354, allocations: 459.9 kB / 486.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1354, allocations: 0 / 486.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.1354, allocations: 15.98 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1355, allocations: 4.062 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1355, allocations: 8 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.1355, allocations: 7.938 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1355, allocations: 0 / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.1357, allocations: 229 kB / 486.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.1358, allocations: 88.92 kB / 486.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.1358, allocations: 8 kB / 486.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.1359, allocations: 8 kB / 486.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.136, allocations: 15.86 kB / 486.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.136, allocations: 4 kB / 486.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.1362, allocations: 192.2 kB / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1362, allocations: 0 / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1364, allocations: 31.98 kB / 486.9 MB, free: 13.68 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 (11): * Single equations (assignments): 9 * 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.001592/0.138, allocations: 1.176 MB / 488.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1382, allocations: 75.91 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1383, allocations: 0 / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.1384, allocations: 43.98 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1387, allocations: 27.98 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.1407, allocations: 1.889 MB / 490.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.141, allocations: 0.72 MB / 490.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.357e-05/0.1411, allocations: 20.62 kB / 490.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.1412, allocations: 43.61 kB / 490.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1412, allocations: 0 / 490.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.1556, allocations: 3.77 MB / 494.7 MB, free: 6.047 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.1558, allocations: 231.7 kB / 494.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/2.158, allocations: 8 kB / 494.9 MB, free: 5.785 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],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.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],time