Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001329, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 75.88 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4399, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003239/0.4432, allocations: 1.742 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.4449, allocations: 1.022 MB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.445, allocations: 1.719 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.4453, allocations: 91.84 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.4457, allocations: 118.7 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.4459, allocations: 80.14 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.4461, allocations: 117.8 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.4462, allocations: 16.19 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.4463, allocations: 53.77 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.4464, allocations: 56.69 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.4465, allocations: 8.125 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.4466, allocations: 58.48 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.952e-05/0.4467, allocations: 32.03 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.4467, allocations: 41.36 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.447, allocations: 135.4 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.447, allocations: 1.375 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.447, allocations: 0 / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.447, allocations: 0 / 0.5341 GB, free: 10.73 MB / 398.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.0005974/0.4476, allocations: 433.1 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4477, allocations: 21.55 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.4477, allocations: 36.12 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.4478, allocations: 10.34 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.4481, allocations: 221.8 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4481, allocations: 1.75 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.4481, allocations: 8.062 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.4483, allocations: 59.41 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4483, allocations: 5.312 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4483, allocations: 7.984 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.4483, allocations: 1.375 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.421e-05/0.4484, allocations: 28.36 kB / 0.5349 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.4488, allocations: 308.2 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.4491, allocations: 61.95 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.4492, allocations: 18.33 kB / 0.5353 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.4492, allocations: 1.906 kB / 0.5353 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.4493, allocations: 81.5 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.4494, allocations: 0 / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007788/0.4501, allocations: 231.5 kB / 0.5356 GB, free: 9.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.4502, allocations: 60.41 kB / 0.5356 GB, free: 9.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.4504, allocations: 217.9 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.4505, allocations: 30.73 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.4505, allocations: 113.8 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.4506, allocations: 36.66 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.4506, allocations: 26.72 kB / 0.536 GB, free: 8.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4508, allocations: 331.3 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.819e-05/0.4508, allocations: 22.72 kB / 0.5364 GB, free: 8.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.4509, allocations: 51.94 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4511, allocations: 84.17 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4511, allocations: 0 / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002153/0.4513, allocations: 130.2 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4513, allocations: 6.438 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.4514, allocations: 0 / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4514, allocations: 5.312 kB / 0.5366 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.4515, allocations: 24.64 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4515, allocations: 1.188 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.4515, allocations: 6.531 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4515, allocations: 3.844 kB / 0.5367 GB, free: 8.395 MB / 398.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.0001067/0.4517, allocations: 135.8 kB / 0.5368 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.4517, allocations: 14 kB / 0.5368 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.593e-05/0.4518, allocations: 24.7 kB / 0.5368 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.4518, allocations: 5.156 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4518, allocations: 0 / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4518, allocations: 0 / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.4523, allocations: 458.7 kB / 0.5373 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4523, allocations: 3.938 kB / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.4524, allocations: 12.03 kB / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.923e-05/0.4524, allocations: 9.203 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.4524, allocations: 2.719 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4525, allocations: 1.281 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4525, allocations: 1.406 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.4527, allocations: 238.2 kB / 0.5375 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.4528, allocations: 88.25 kB / 0.5376 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.4528, allocations: 6.188 kB / 0.5376 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.4529, allocations: 3.375 kB / 0.5376 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.453, allocations: 12.33 kB / 0.5376 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.453, allocations: 4.344 kB / 0.5376 GB, free: 7.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.4531, allocations: 168.4 kB / 0.5378 GB, free: 7.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4532, allocations: 0 / 0.5378 GB, free: 7.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.4534, allocations: 33.61 kB / 0.5378 GB, free: 7.355 MB / 398.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.00167/0.4551, allocations: 1.172 MB / 0.539 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.4553, allocations: 81.94 kB / 0.539 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4554, allocations: 0 / 0.539 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.4555, allocations: 39.86 kB / 0.5391 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.4558, allocations: 40.31 kB / 0.5391 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.4582, allocations: 1.813 MB / 0.5409 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.4585, allocations: 0.7113 MB / 0.5416 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.052e-05/0.4586, allocations: 22.84 kB / 0.5416 GB, free: 4.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.055e-05/0.4587, allocations: 45.3 kB / 0.5416 GB, free: 4.094 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4587, allocations: 0 / 0.5416 GB, free: 4.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.489, allocations: 3.928 MB / 0.5455 GB, free: 1.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/8.109, allocations: 9.078 kB / 0.5455 GB, free: 1.988 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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),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[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time