Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.001282/0.001282, allocations: 110.4 kB / 17.78 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.001472/0.001472, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.2046/0.2046, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3732, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003664/0.3769, allocations: 1.659 MB / 0.5201 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3783, allocations: 0.8602 MB / 0.521 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.3784, allocations: 1.188 kB / 0.521 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.3788, allocations: 49.72 kB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.379, allocations: 64.23 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.3793, allocations: 107.3 kB / 0.5212 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.3795, allocations: 92.27 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.3796, allocations: 6.141 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.602e-05/0.3797, allocations: 40.36 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.3798, allocations: 28.62 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.3798, allocations: 3.219 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.35e-05/0.3799, allocations: 26.75 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.38, allocations: 27.97 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.38, allocations: 44.47 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.3802, allocations: 116.9 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3803, allocations: 0 / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3803, allocations: 0 / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3803, allocations: 0.9688 kB / 0.5215 GB, free: 1.27 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.0005339/0.3808, allocations: 429.7 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.3809, allocations: 9.344 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.3809, allocations: 32.8 kB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.3809, allocations: 14 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.3812, allocations: 218.6 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3813, allocations: 1.625 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.3813, allocations: 9.188 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3815, allocations: 54.17 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3815, allocations: 2.016 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3815, allocations: 0 / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3815, allocations: 1.844 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.246e-05/0.3816, allocations: 13.73 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.3818, allocations: 190.1 kB / 0.5225 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.382, allocations: 57.42 kB / 0.5225 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.3821, allocations: 22.84 kB / 0.5225 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.3821, allocations: 1.531 kB / 0.5225 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.3823, allocations: 68.62 kB / 0.5226 GB, free: 216 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3823, allocations: 0 / 0.5226 GB, free: 216 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003393/0.3826, allocations: 93.39 kB / 0.5227 GB, free: 164 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3827, allocations: 61.16 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.383, allocations: 260.9 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.3831, allocations: 27.38 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/0.3832, allocations: 114.2 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.3832, allocations: 12.56 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.3833, allocations: 23.77 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3834, allocations: 328.2 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.3835, allocations: 13.58 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.3836, allocations: 26.61 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.3837, allocations: 46.94 kB / 0.5236 GB, free: 15.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3837, allocations: 3.938 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000166/0.3839, allocations: 94.33 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3839, allocations: 5.875 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3839, allocations: 0 / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3839, allocations: 1.469 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/0.384, allocations: 14.94 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.384, allocations: 1.469 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.3841, allocations: 2.172 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3841, allocations: 7.453 kB / 0.5237 GB, free: 15.32 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.0001181/0.3842, allocations: 137.2 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.3842, allocations: 17.72 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.3843, allocations: 18.41 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.3843, allocations: 1.125 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3843, allocations: 0 / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3843, allocations: 0.75 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.3845, allocations: 193.8 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3845, allocations: 0 / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.3846, allocations: 4.203 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3846, allocations: 1.719 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3846, allocations: 0.75 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3846, allocations: 9.344 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3846, allocations: 0.75 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.3848, allocations: 117.4 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.3849, allocations: 88.66 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.3849, allocations: 3.312 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/0.385, allocations: 5.906 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.385, allocations: 7.734 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.385, allocations: 6.188 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.3852, allocations: 200.9 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3852, allocations: 3.938 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.3855, allocations: 19.33 kB / 0.5245 GB, free: 14.64 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.001424/0.3869, allocations: 0.9605 MB / 0.5254 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.3871, allocations: 48.2 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3871, allocations: 1.062 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.343e-05/0.3872, allocations: 17.72 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.3874, allocations: 21.91 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3896, allocations: 1.646 MB / 0.5271 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.39, allocations: 0.7197 MB / 0.5278 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.027e-05/0.3901, allocations: 10.36 kB / 0.5278 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.3902, allocations: 37.48 kB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3902, allocations: 0 / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.4142, allocations: 3.456 MB / 0.5313 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/7.829, allocations: 11.88 kB / 0.5313 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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