Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 109.5 kB / 17.77 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 184.1 kB / 18.71 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1964/0.1964, allocations: 44.19 MB / 336.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3532, allocations: 60.83 MB / 0.5185 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.00403/0.3572, allocations: 1.669 MB / 0.5201 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.359, allocations: 0.8545 MB / 0.521 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.3591, allocations: 5.125 kB / 0.521 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.3595, allocations: 46.47 kB / 0.521 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.3598, allocations: 64.58 kB / 0.5211 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.3603, allocations: 103 kB / 0.5212 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.3605, allocations: 89.06 kB / 0.5212 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.3606, allocations: 4.234 kB / 0.5213 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.3607, allocations: 45.3 kB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.3608, allocations: 25.53 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.3609, allocations: 3.594 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.361, allocations: 41.39 kB / 0.5214 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.3611, allocations: 23.5 kB / 0.5214 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.3611, allocations: 41.03 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.3614, allocations: 115.8 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3614, allocations: 1.984 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3614, allocations: 0 / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3614, allocations: 3.938 kB / 0.5215 GB, free: 1.293 MB / 382.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.0005621/0.362, allocations: 424.9 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3621, allocations: 10.91 kB / 0.522 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.3621, allocations: 35.41 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.3622, allocations: 18.77 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.3625, allocations: 217.6 kB / 0.5222 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3625, allocations: 2.016 kB / 0.5222 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3625, allocations: 6.219 kB / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3627, allocations: 49.86 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3627, allocations: 1.156 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3627, allocations: 0.5625 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3628, allocations: 1.062 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.922e-05/0.3629, allocations: 18.98 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.3631, allocations: 189.6 kB / 0.5225 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.3633, allocations: 56.5 kB / 0.5225 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/0.3634, allocations: 20.66 kB / 0.5225 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3634, allocations: 1.75 kB / 0.5225 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.3636, allocations: 71.45 kB / 0.5226 GB, free: 240 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.674e-06/0.3636, allocations: 0 / 0.5226 GB, free: 240 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003492/0.3639, allocations: 102 kB / 0.5227 GB, free: 180 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.364, allocations: 52.81 kB / 0.5228 GB, free: 116 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.3643, allocations: 261.9 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3644, allocations: 29.64 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.3644, allocations: 111.9 kB / 0.5231 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.3645, allocations: 15.73 kB / 0.5232 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.3645, allocations: 18.98 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3647, allocations: 325.2 kB / 0.5235 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-05/0.3648, allocations: 14.19 kB / 0.5235 GB, free: 15.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.194e-05/0.3649, allocations: 30.03 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.365, allocations: 45.92 kB / 0.5236 GB, free: 15.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.365, allocations: 9.062 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002222/0.3653, allocations: 81.38 kB / 0.5237 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3653, allocations: 5.656 kB / 0.5237 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3653, allocations: 0 / 0.5237 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3653, allocations: 6.047 kB / 0.5237 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.3654, allocations: 10.66 kB / 0.5237 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.3655, allocations: 1.156 kB / 0.5237 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.3655, allocations: 3.484 kB / 0.5237 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3656, allocations: 2.234 kB / 0.5237 GB, free: 15.36 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.0001377/0.3657, allocations: 140.8 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.3657, allocations: 14.28 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.3658, allocations: 18 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3658, allocations: 0.8438 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3658, allocations: 1.031 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3658, allocations: 0.75 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.366, allocations: 197 kB / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3661, allocations: 1.5 kB / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.3661, allocations: 7.578 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3661, allocations: 10.67 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3661, allocations: 0.5625 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.3661, allocations: 8.641 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3662, allocations: 3.938 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.3664, allocations: 110.2 kB / 0.5242 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.3665, allocations: 89.08 kB / 0.5243 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.3665, allocations: 5.781 kB / 0.5243 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.094e-05/0.3666, allocations: 3.609 kB / 0.5243 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.3666, allocations: 6.516 kB / 0.5243 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3667, allocations: 3.234 kB / 0.5243 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000238/0.3669, allocations: 209 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3669, allocations: 0 / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00034/0.3673, allocations: 14.56 kB / 0.5245 GB, free: 14.66 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.001701/0.369, allocations: 0.9594 MB / 0.5254 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.3692, allocations: 41.33 kB / 0.5255 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3692, allocations: 0 / 0.5255 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.3693, allocations: 21.44 kB / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.3697, allocations: 28.89 kB / 0.5255 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.372, allocations: 1.65 MB / 0.5271 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3724, allocations: 0.716 MB / 0.5278 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.14e-05/0.3725, allocations: 14.14 kB / 0.5278 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.982e-05/0.3725, allocations: 37.97 kB / 0.5279 GB, free: 11.88 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3726, allocations: 0 / 0.5279 GB, free: 11.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.399, allocations: 3.449 MB / 0.5313 GB, free: 10.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.216, allocations: 12.19 kB / 0.5313 GB, free: 10.4 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.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