Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.001149/0.001149, allocations: 106.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.001093/0.001094, allocations: 187.9 kB / 18.7 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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.199/0.199, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.91 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3865, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.00269/0.3893, allocations: 1.705 MB / 0.5202 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3905, allocations: 0.8721 MB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.3906, allocations: 0 / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.3909, allocations: 36.06 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.3912, allocations: 63.06 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.3915, allocations: 109.2 kB / 0.5212 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.3917, allocations: 95.73 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.3918, allocations: 8.859 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.596e-05/0.3918, allocations: 40.3 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.245e-05/0.3919, allocations: 31.14 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.392, allocations: 3.406 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3921, allocations: 42.47 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.3921, allocations: 27.34 kB / 0.5215 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.3922, allocations: 32.97 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.3924, allocations: 117.7 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3924, allocations: 0 / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3924, allocations: 0 / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.3925, allocations: 1.094 kB / 0.5216 GB, free: 1.227 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004898/0.393, allocations: 402.8 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.393, allocations: 8.844 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.393, allocations: 37.61 kB / 0.522 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.3931, allocations: 13.38 kB / 0.522 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.3933, allocations: 206.2 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3933, allocations: 6.25 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.3934, allocations: 6.094 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.3936, allocations: 62.22 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3936, allocations: 5.188 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3936, allocations: 0.7969 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3936, allocations: 1.344 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.542e-05/0.3937, allocations: 17.88 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.3941, allocations: 290.1 kB / 0.5226 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.3943, allocations: 60.06 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.3944, allocations: 20.14 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.3944, allocations: 1.797 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.3946, allocations: 69.52 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.525e-06/0.3946, allocations: 3.984 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005954/0.3952, allocations: 176.2 kB / 0.5229 GB, free: 4 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.3953, allocations: 58.19 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.3955, allocations: 189.7 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3955, allocations: 27.17 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.3956, allocations: 99.69 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.3957, allocations: 30.45 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.3957, allocations: 24.95 kB / 0.5233 GB, free: 15.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3959, allocations: 323.3 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.3959, allocations: 20.8 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.396, allocations: 39.66 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.3961, allocations: 62.05 kB / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3961, allocations: 0 / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.3963, allocations: 109.3 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3964, allocations: 5.078 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3964, allocations: 1.438 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3964, allocations: 1.5 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.3965, allocations: 15.45 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3965, allocations: 1.312 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.3966, allocations: 5.688 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3966, allocations: 3.312 kB / 0.5239 GB, free: 15.17 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 (10): * Single equations (assignments): 10 * 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.000102/0.3967, allocations: 134.8 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.3967, allocations: 8.844 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.3968, allocations: 15.08 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3968, allocations: 1.859 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3968, allocations: 0 / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.3968, allocations: 5.547 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.3973, allocations: 393.1 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3973, allocations: 8.812 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.3973, allocations: 9.094 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3973, allocations: 5.062 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3974, allocations: 3.094 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.3974, allocations: 1.125 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3974, allocations: 0 / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3976, allocations: 209 kB / 0.5247 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.3977, allocations: 85.2 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.3978, allocations: 5.766 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.3978, allocations: 7.875 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.3979, allocations: 5.984 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.3979, allocations: 7.5 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.3981, allocations: 143.4 kB / 0.5249 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3981, allocations: 0 / 0.5249 GB, free: 14.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3984, allocations: 26.7 kB / 0.5249 GB, free: 14.28 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001499/0.3999, allocations: 1.098 MB / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.4001, allocations: 60.64 kB / 0.5261 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4001, allocations: 0 / 0.5261 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/0.4002, allocations: 32.81 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.4006, allocations: 31.55 kB / 0.5261 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.4026, allocations: 1.635 MB / 0.5277 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.4029, allocations: 0.7007 MB / 0.5284 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.682e-05/0.403, allocations: 13.67 kB / 0.5284 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.4031, allocations: 38.42 kB / 0.5285 GB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4031, allocations: 0 / 0.5285 GB, free: 11.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.4235, allocations: 3.415 MB / 0.5318 GB, free: 9.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.314, allocations: 12.95 kB / 0.5318 GB, free: 9.863 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time