Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 118.8 kB / 17.79 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.001291/0.001291, allocations: 201.2 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.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4469, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003811/0.4507, allocations: 1.688 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.4523, allocations: 1.003 MB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.4524, allocations: 0 / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.4527, allocations: 54.19 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.453, allocations: 107.5 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.4532, allocations: 68.36 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.4534, allocations: 102.5 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.4534, allocations: 9.734 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.901e-05/0.4535, allocations: 42.91 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.149e-05/0.4536, allocations: 29.47 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.4536, allocations: 4.125 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/0.4537, allocations: 28.62 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.4538, allocations: 30.84 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.4539, allocations: 39.92 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.4541, allocations: 125.8 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4541, allocations: 1.375 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.4541, allocations: 4 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4541, allocations: 0 / 0.5338 GB, free: 10.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005715/0.4547, allocations: 438.4 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4547, allocations: 9.625 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.4548, allocations: 36.06 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.4548, allocations: 10.34 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.4551, allocations: 220.1 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4551, allocations: 1.75 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.4551, allocations: 13.3 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.4553, allocations: 55.23 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4553, allocations: 0 / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.4553, allocations: 3.938 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4553, allocations: 1.375 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/0.4554, allocations: 16.23 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.4556, allocations: 195.5 kB / 0.5348 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.4558, allocations: 55.12 kB / 0.5348 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.4558, allocations: 21.09 kB / 0.5349 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.4559, allocations: 1.375 kB / 0.5349 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.456, allocations: 67.7 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.456, allocations: 0 / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002785/0.4563, allocations: 97.36 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.4564, allocations: 56.78 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.4566, allocations: 270.2 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4567, allocations: 27.11 kB / 0.5354 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.4568, allocations: 114.8 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.4568, allocations: 19.14 kB / 0.5355 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.4568, allocations: 18 kB / 0.5355 GB, free: 9.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.457, allocations: 323.8 kB / 0.5358 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.094e-05/0.457, allocations: 16.02 kB / 0.5358 GB, free: 8.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.4571, allocations: 35.3 kB / 0.5359 GB, free: 8.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.455e-05/0.4572, allocations: 43.53 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4572, allocations: 5.125 kB / 0.5359 GB, free: 8.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001545/0.4574, allocations: 88.2 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4574, allocations: 5.625 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4574, allocations: 1.094 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4574, allocations: 4.031 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.4575, allocations: 10.03 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4575, allocations: 0 / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.4576, allocations: 6.344 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.4576, allocations: 6.203 kB / 0.536 GB, free: 8.793 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 (7): * Single equations (assignments): 7 * 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.0001254/0.4577, allocations: 142.2 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.4577, allocations: 14.66 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.4578, allocations: 15.75 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4578, allocations: 1.125 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4578, allocations: 5.25 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4578, allocations: 0 / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.458, allocations: 207.1 kB / 0.5364 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.458, allocations: 3.938 kB / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.458, allocations: 3.531 kB / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.458, allocations: 1.219 kB / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.458, allocations: 0 / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.458, allocations: 1.375 kB / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.458, allocations: 0 / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.4582, allocations: 119.3 kB / 0.5365 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.4583, allocations: 92.45 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.4583, allocations: 1.062 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.056e-05/0.4584, allocations: 9.172 kB / 0.5366 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.4584, allocations: 6.141 kB / 0.5366 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.4584, allocations: 3.188 kB / 0.5366 GB, free: 8.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.4586, allocations: 206.5 kB / 0.5368 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4586, allocations: 0 / 0.5368 GB, free: 8.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.4588, allocations: 17.47 kB / 0.5368 GB, free: 8.055 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001304/0.4601, allocations: 0.9445 MB / 0.5378 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.4603, allocations: 47.92 kB / 0.5378 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4603, allocations: 0 / 0.5378 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.798e-05/0.4604, allocations: 27.42 kB / 0.5378 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.4607, allocations: 28.58 kB / 0.5379 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.4625, allocations: 1.68 MB / 0.5395 GB, free: 5.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.4629, allocations: 0.7153 MB / 0.5402 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.524e-05/0.4629, allocations: 19.58 kB / 0.5402 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.463, allocations: 37.67 kB / 0.5402 GB, free: 5.098 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.463, allocations: 4.75 kB / 0.5403 GB, free: 5.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.4833, allocations: 3.507 MB / 0.5437 GB, free: 3.211 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/8.133, allocations: 11.31 kB / 0.5437 GB, free: 3.203 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result: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.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time