Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 118.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 201.2 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001883, allocations: 84.14 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4076, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003385/0.411, allocations: 1.687 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.4129, allocations: 0.9995 MB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.413, allocations: 0 / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.4134, allocations: 54.39 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.4138, allocations: 99.34 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.4142, allocations: 77.81 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.4145, allocations: 95.3 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.852e-05/0.4145, allocations: 12.64 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.4147, allocations: 47.34 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.4148, allocations: 24.77 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.4149, allocations: 3.656 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.415, allocations: 28.89 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.358e-05/0.4151, allocations: 38.78 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.335e-05/0.4152, allocations: 39.92 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.4155, allocations: 123.2 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4155, allocations: 0 / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4155, allocations: 0 / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.4155, allocations: 0 / 0.5338 GB, free: 10.9 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.0006944/0.4162, allocations: 434.4 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4163, allocations: 9.625 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.4163, allocations: 36.12 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.4164, allocations: 10.34 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.4167, allocations: 224.1 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.4168, allocations: 1.75 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.4168, allocations: 9.297 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.417, allocations: 47.31 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.417, allocations: 4 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.417, allocations: 1.375 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.417, allocations: 3.938 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.315e-05/0.4171, allocations: 16.23 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.4173, allocations: 191.5 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.4175, allocations: 59.06 kB / 0.5348 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.4176, allocations: 25.09 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.4176, allocations: 1.375 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.4178, allocations: 63.77 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/0.4178, allocations: 1.375 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003133/0.4182, allocations: 108 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.4182, allocations: 56.77 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.4185, allocations: 271.1 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4186, allocations: 31.05 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.4187, allocations: 111.2 kB / 0.5355 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.4187, allocations: 14.03 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.4188, allocations: 18.84 kB / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4189, allocations: 327.5 kB / 0.5358 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.419, allocations: 11.81 kB / 0.5358 GB, free: 8.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.4191, allocations: 31.33 kB / 0.5359 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.4192, allocations: 47.17 kB / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.4192, allocations: 5.062 kB / 0.5359 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002269/0.4195, allocations: 84.5 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.4195, allocations: 6.062 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4195, allocations: 0 / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4196, allocations: 1.438 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.631e-05/0.4197, allocations: 16.05 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.4197, allocations: 4.906 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.4197, allocations: 6.469 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4198, allocations: 2.781 kB / 0.536 GB, free: 8.805 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.0001455/0.4199, allocations: 136.2 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.42, allocations: 14.28 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.42, allocations: 20.61 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.42, allocations: 1.125 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.42, allocations: 0 / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.4201, allocations: 5.203 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.4203, allocations: 207 kB / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.4203, allocations: 0 / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.4203, allocations: 7.219 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.4203, allocations: 1.094 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4203, allocations: 1.219 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4203, allocations: 0 / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.4203, allocations: 3.984 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.4206, allocations: 119.9 kB / 0.5365 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.4207, allocations: 96.44 kB / 0.5366 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.4207, allocations: 1.219 kB / 0.5366 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-05/0.4208, allocations: 1.188 kB / 0.5366 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.4208, allocations: 2.156 kB / 0.5366 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.4208, allocations: 6.266 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.421, allocations: 198.5 kB / 0.5368 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4211, allocations: 0 / 0.5368 GB, free: 8.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.4213, allocations: 21.78 kB / 0.5368 GB, free: 8.07 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.001514/0.4228, allocations: 0.9548 MB / 0.5378 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.423, allocations: 43.41 kB / 0.5378 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.423, allocations: 1.469 kB / 0.5378 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.916e-05/0.4231, allocations: 19.22 kB / 0.5378 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.4234, allocations: 35.81 kB / 0.5379 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.4257, allocations: 1.673 MB / 0.5395 GB, free: 5.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.426, allocations: 0.7143 MB / 0.5402 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.096e-05/0.4261, allocations: 13.39 kB / 0.5402 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.4262, allocations: 37.83 kB / 0.5402 GB, free: 5.117 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4262, allocations: 4 kB / 0.5402 GB, free: 5.113 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.4479, allocations: 3.518 MB / 0.5437 GB, free: 3.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/8.092, allocations: 12.19 kB / 0.5437 GB, free: 3.215 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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