Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 79.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.348, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002978/0.351, allocations: 1.694 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3526, allocations: 1.002 MB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.3527, allocations: 1.906 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.353, allocations: 53 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.3533, allocations: 103 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.3535, allocations: 73.78 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3537, allocations: 98.44 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.3538, allocations: 9.906 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.764e-05/0.3539, allocations: 38.62 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.354, allocations: 29.56 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.354, allocations: 4.344 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-05/0.3541, allocations: 31.73 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.3542, allocations: 34.56 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.109e-05/0.3542, allocations: 40.62 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.3544, allocations: 126.3 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3544, allocations: 1.375 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3544, allocations: 0 / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3544, allocations: 0 / 0.5338 GB, free: 10.88 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.0005923/0.355, allocations: 430.4 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3551, allocations: 9.625 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.3551, allocations: 34.73 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.3551, allocations: 11.72 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.3554, allocations: 232.1 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.3555, allocations: 384 / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3555, allocations: 6.688 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.3556, allocations: 47.3 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3556, allocations: 0 / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3556, allocations: 3.938 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3557, allocations: 1.375 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.3557, allocations: 16.23 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.3559, allocations: 191.5 kB / 0.5348 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.3562, allocations: 63.05 kB / 0.5348 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.3562, allocations: 17.11 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3563, allocations: 5.359 kB / 0.5349 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.3564, allocations: 63.77 kB / 0.5349 GB, free: 9.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.745e-06/0.3564, allocations: 4 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002787/0.3567, allocations: 105.3 kB / 0.535 GB, free: 9.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3568, allocations: 52.78 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.357, allocations: 275.2 kB / 0.5353 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.357, allocations: 25.7 kB / 0.5354 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.3571, allocations: 116.4 kB / 0.5355 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.3571, allocations: 13.27 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.3572, allocations: 19.22 kB / 0.5355 GB, free: 9.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3574, allocations: 332.2 kB / 0.5358 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.3574, allocations: 14.67 kB / 0.5358 GB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.3575, allocations: 28.14 kB / 0.5359 GB, free: 8.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.3576, allocations: 46.7 kB / 0.5359 GB, free: 8.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3576, allocations: 5.281 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001529/0.3578, allocations: 80.12 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3578, allocations: 9.344 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.3578, allocations: 5.547 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3579, allocations: 0 / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/0.3579, allocations: 13.47 kB / 0.536 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.358, allocations: 0.8438 kB / 0.536 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.358, allocations: 9.75 kB / 0.536 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.358, allocations: 2.219 kB / 0.536 GB, free: 8.785 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.0001313/0.3582, allocations: 133.3 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.3582, allocations: 14.34 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.3582, allocations: 24.61 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3582, allocations: 0 / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3583, allocations: 1.062 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3583, allocations: 0 / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.3584, allocations: 199.2 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3585, allocations: 8.984 kB / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.3585, allocations: 7.266 kB / 0.5364 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3585, allocations: 0 / 0.5364 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3585, allocations: 1.219 kB / 0.5364 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3585, allocations: 1.438 kB / 0.5364 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3585, allocations: 4 kB / 0.5364 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.3587, allocations: 122.8 kB / 0.5365 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.3588, allocations: 88.33 kB / 0.5366 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.3588, allocations: 1.188 kB / 0.5366 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.729e-05/0.3589, allocations: 6.375 kB / 0.5366 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.3589, allocations: 6.141 kB / 0.5366 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.3589, allocations: 2.438 kB / 0.5366 GB, free: 8.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.3591, allocations: 202.5 kB / 0.5368 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3591, allocations: 0 / 0.5368 GB, free: 8.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000221/0.3593, allocations: 26.27 kB / 0.5368 GB, free: 8.047 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.001346/0.3607, allocations: 0.9481 MB / 0.5378 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.3609, allocations: 39.3 kB / 0.5378 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3609, allocations: 0 / 0.5378 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.3609, allocations: 31.33 kB / 0.5378 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.3612, allocations: 20.92 kB / 0.5379 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.3634, allocations: 1.689 MB / 0.5395 GB, free: 5.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.3638, allocations: 0.7137 MB / 0.5402 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.834e-05/0.3639, allocations: 8.375 kB / 0.5402 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.3639, allocations: 42.17 kB / 0.5402 GB, free: 5.094 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3639, allocations: 0 / 0.5402 GB, free: 5.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.3847, allocations: 3.515 MB / 0.5437 GB, free: 3.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/8.025, allocations: 10.06 kB / 0.5437 GB, free: 3.199 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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