Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.001107/0.001107, 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.001186/0.001186, allocations: 187.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.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2482/0.2482, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 63.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4628, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.004014/0.4668, allocations: 1.703 MB / 0.5202 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.4685, allocations: 0.8755 MB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.4686, allocations: 1.031 kB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.469, allocations: 82.22 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.4693, allocations: 75.44 kB / 0.5212 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.4696, allocations: 108.7 kB / 0.5213 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.4699, allocations: 107.5 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.47, allocations: 15.11 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.4701, allocations: 51 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.4702, allocations: 55.05 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.4702, allocations: 3.375 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.4704, allocations: 42.42 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.4704, allocations: 27.98 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.4705, allocations: 34.64 kB / 0.5216 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.4707, allocations: 119.6 kB / 0.5217 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4707, allocations: 1.625 kB / 0.5217 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4707, allocations: 4 kB / 0.5217 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.4707, allocations: 1.031 kB / 0.5217 GB, free: 1.211 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.0005792/0.4713, allocations: 424.5 kB / 0.5221 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.4714, allocations: 9.469 kB / 0.5221 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.4714, allocations: 40.94 kB / 0.5222 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.4715, allocations: 10.17 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.4718, allocations: 215.2 kB / 0.5224 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4718, allocations: 2.172 kB / 0.5224 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.4718, allocations: 11.03 kB / 0.5224 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.472, allocations: 53.58 kB / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.472, allocations: 0 / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.472, allocations: 2.047 kB / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.472, allocations: 3.938 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.4721, allocations: 26.48 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.4725, allocations: 285.7 kB / 0.5228 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.4727, allocations: 59.62 kB / 0.5228 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.4727, allocations: 20.45 kB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.4728, allocations: 1.5 kB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.4729, allocations: 73.05 kB / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.4729, allocations: 0 / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006209/0.4736, allocations: 177.2 kB / 0.5231 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4736, allocations: 52.62 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.4739, allocations: 215.5 kB / 0.5233 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.474, allocations: 30.8 kB / 0.5234 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.474, allocations: 104.7 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.4741, allocations: 21.16 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.4741, allocations: 27.44 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4743, allocations: 327 kB / 0.5238 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/0.4744, allocations: 20.44 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.01e-05/0.4744, allocations: 35.88 kB / 0.5239 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.4746, allocations: 66.25 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4746, allocations: 0 / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002047/0.4748, allocations: 98.08 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4748, allocations: 8.5 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4748, allocations: 5.812 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4749, allocations: 1.094 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.615e-05/0.475, allocations: 19.47 kB / 0.5241 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.475, allocations: 1.188 kB / 0.5241 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.475, allocations: 6.781 kB / 0.5241 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.475, allocations: 3.656 kB / 0.5241 GB, free: 15.14 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.0001189/0.4752, allocations: 128 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.4752, allocations: 13.77 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.4753, allocations: 21.2 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4753, allocations: 1.062 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4753, allocations: 4.938 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4753, allocations: 4.594 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.4758, allocations: 393.3 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4758, allocations: 3.938 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.4759, allocations: 12.84 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4759, allocations: 5.125 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.4759, allocations: 10 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4759, allocations: 1.953 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4759, allocations: 1.5 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.4762, allocations: 197.8 kB / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.4762, allocations: 83.61 kB / 0.5249 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.4762, allocations: 10.34 kB / 0.5249 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.4763, allocations: 11.66 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.4764, allocations: 6.797 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.4764, allocations: 2.859 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.4765, allocations: 160 kB / 0.5251 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4765, allocations: 1.125 kB / 0.5251 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.4768, allocations: 26.41 kB / 0.5251 GB, free: 14.23 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.001614/0.4784, allocations: 1.103 MB / 0.5262 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.4786, allocations: 63.89 kB / 0.5263 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4787, allocations: 0 / 0.5263 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.4787, allocations: 28.78 kB / 0.5263 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.4791, allocations: 37.78 kB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.4812, allocations: 1.692 MB / 0.528 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.4816, allocations: 0.7084 MB / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.299e-05/0.4816, allocations: 20.66 kB / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.511e-05/0.4817, allocations: 36.47 kB / 0.5287 GB, free: 11.26 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4817, allocations: 0 / 0.5287 GB, free: 11.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.5047, allocations: 3.525 MB / 0.5322 GB, free: 9.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/8.042, allocations: 14.45 kB / 0.5322 GB, free: 9.684 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time