Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.001581/0.001581, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.00166/0.00166, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2071/0.2071, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3209, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002458/0.3234, allocations: 1.666 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3245, allocations: 0.8624 MB / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.3245, allocations: 1.469 kB / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.3248, allocations: 54.39 kB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.325, allocations: 68.89 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.3253, allocations: 100.3 kB / 0.5212 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.3254, allocations: 102.6 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.3255, allocations: 4.938 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.049e-05/0.3256, allocations: 46.94 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.3257, allocations: 48.7 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3257, allocations: 2.469 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-05/0.3258, allocations: 30.84 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.3258, allocations: 17.98 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.3259, allocations: 31.95 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.326, allocations: 103.4 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.326, allocations: 0 / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.326, allocations: 0 / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.326, allocations: 0 / 0.5215 GB, free: 1.277 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.0004025/0.3265, allocations: 400 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3265, allocations: 9.719 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.3265, allocations: 32.61 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.3266, allocations: 9.375 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.3268, allocations: 209.9 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3268, allocations: 5.75 kB / 0.5222 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.3268, allocations: 5.609 kB / 0.5222 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.327, allocations: 47.25 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.327, allocations: 0 / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.327, allocations: 4.594 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.327, allocations: 1.094 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.475e-05/0.3271, allocations: 19.45 kB / 0.5223 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.3272, allocations: 182.3 kB / 0.5224 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.3274, allocations: 60.39 kB / 0.5225 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.3274, allocations: 19.31 kB / 0.5225 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.3275, allocations: 2.156 kB / 0.5225 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.3276, allocations: 60.98 kB / 0.5226 GB, free: 260 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.484e-06/0.3276, allocations: 0 / 0.5226 GB, free: 260 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002548/0.3279, allocations: 99.22 kB / 0.5227 GB, free: 200 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.3279, allocations: 53.16 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3281, allocations: 190.7 kB / 0.5229 GB, free: 0 / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3281, allocations: 25.7 kB / 0.5229 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.3282, allocations: 99.84 kB / 0.523 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.3282, allocations: 19.62 kB / 0.523 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.3282, allocations: 19.8 kB / 0.5231 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3284, allocations: 325.2 kB / 0.5234 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.3284, allocations: 17.48 kB / 0.5234 GB, free: 15.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.3285, allocations: 30.69 kB / 0.5234 GB, free: 15.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.218e-05/0.3286, allocations: 42.08 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3286, allocations: 5.188 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001596/0.3288, allocations: 88.25 kB / 0.5235 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3288, allocations: 6.344 kB / 0.5235 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3288, allocations: 4.188 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3288, allocations: 1.656 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.3289, allocations: 14.69 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3289, allocations: 5.547 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.3289, allocations: 2.656 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.329, allocations: 2.234 kB / 0.5236 GB, free: 15.39 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.0001077/0.3291, allocations: 125.1 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.3291, allocations: 8.219 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.3291, allocations: 18.75 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3291, allocations: 1.469 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3292, allocations: 0 / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3292, allocations: 0.6094 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.3293, allocations: 194.3 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3293, allocations: 4.547 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.3293, allocations: 7.672 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3293, allocations: 1.469 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3294, allocations: 0.6094 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3294, allocations: 1.5 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3294, allocations: 0.5156 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.3295, allocations: 111.9 kB / 0.524 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.3296, allocations: 84.88 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3296, allocations: 1.938 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.578e-05/0.3297, allocations: 2.5 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.3297, allocations: 4.219 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.3297, allocations: 6.938 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3298, allocations: 138.7 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3298, allocations: 4 kB / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000206/0.33, allocations: 14.02 kB / 0.5243 GB, free: 14.74 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.001143/0.3312, allocations: 0.9566 MB / 0.5252 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.3314, allocations: 44.7 kB / 0.5253 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.3314, allocations: 0 / 0.5253 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/0.3314, allocations: 21.84 kB / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.3317, allocations: 28.84 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.3332, allocations: 1.475 MB / 0.5267 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.3334, allocations: 0.7088 MB / 0.5274 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.3335, allocations: 11.62 kB / 0.5274 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.3335, allocations: 31.47 kB / 0.5275 GB, free: 12 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3335, allocations: 0.9688 kB / 0.5275 GB, free: 12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.3531, allocations: 3.118 MB / 0.5305 GB, free: 10.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.845, allocations: 13.16 kB / 0.5305 GB, free: 10.73 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time