Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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: 108.5 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.001878/0.001878, 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.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2104/0.2104, allocations: 44.19 MB / 336.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3358, allocations: 60.83 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002745/0.3386, allocations: 1.704 MB / 0.5202 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3398, allocations: 0.8769 MB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.3399, allocations: 1.562 kB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.3402, allocations: 46.88 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.3404, allocations: 63.47 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.3407, allocations: 109.3 kB / 0.5212 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.3409, allocations: 100.4 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.341, allocations: 7.609 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.328e-05/0.3411, allocations: 40.72 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.506e-05/0.3412, allocations: 31.44 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.3412, allocations: 7.531 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3413, allocations: 46.31 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.3414, allocations: 28.52 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.3415, allocations: 46.59 kB / 0.5215 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.3417, allocations: 133.3 kB / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3417, allocations: 0.9375 kB / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3417, allocations: 0 / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3417, allocations: 0 / 0.5217 GB, free: 1.207 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.0005282/0.3423, allocations: 438.2 kB / 0.5221 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3423, allocations: 13.12 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.3424, allocations: 32.66 kB / 0.5221 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.3424, allocations: 16.3 kB / 0.5221 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.3426, allocations: 222.5 kB / 0.5224 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3427, allocations: 3.188 kB / 0.5224 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.3427, allocations: 10.25 kB / 0.5224 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.3428, allocations: 53.94 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3429, allocations: 3.906 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3429, allocations: 1.75 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3429, allocations: 5.281 kB / 0.5224 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.343, allocations: 18.09 kB / 0.5224 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.3433, allocations: 298 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.3434, allocations: 64.45 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.3435, allocations: 19.59 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3435, allocations: 9.562 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.3437, allocations: 65.75 kB / 0.5229 GB, free: 36 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3437, allocations: 0 / 0.5229 GB, free: 36 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005147/0.3442, allocations: 179.4 kB / 0.5231 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3442, allocations: 60.66 kB / 0.5231 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.3445, allocations: 277.2 kB / 0.5234 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3445, allocations: 35.17 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.3446, allocations: 111.6 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.3446, allocations: 23.19 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.3447, allocations: 25 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.3448, allocations: 325.7 kB / 0.5239 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/0.3448, allocations: 25.31 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.3449, allocations: 35.66 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.345, allocations: 65.56 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.345, allocations: 192 / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.3452, allocations: 102.7 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3453, allocations: 10.42 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3453, allocations: 1.219 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3453, allocations: 1.031 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.3454, allocations: 15 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3454, allocations: 1.062 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.3454, allocations: 14.75 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3455, allocations: 2.781 kB / 0.5241 GB, free: 15.07 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.0001179/0.3456, allocations: 139.3 kB / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.3456, allocations: 15.05 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.3457, allocations: 24.89 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3457, allocations: 0 / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3457, allocations: 1.906 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3457, allocations: 4.734 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.3462, allocations: 410.6 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3462, allocations: 1.5 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.3462, allocations: 8.25 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.3463, allocations: 5.031 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3463, allocations: 3.281 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3463, allocations: 0.7031 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3463, allocations: 5.094 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.3465, allocations: 210.2 kB / 0.5249 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.3466, allocations: 90.17 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.3466, allocations: 6.156 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.3467, allocations: 3.109 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.3467, allocations: 9.281 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3468, allocations: 5.203 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.3469, allocations: 203.9 kB / 0.5252 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3469, allocations: 4 kB / 0.5252 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000254/0.3472, allocations: 23.48 kB / 0.5253 GB, free: 14.16 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.001343/0.3486, allocations: 1.113 MB / 0.5263 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.3487, allocations: 59.61 kB / 0.5264 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3488, allocations: 0 / 0.5264 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.3488, allocations: 28.66 kB / 0.5264 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.3492, allocations: 29.88 kB / 0.5265 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.3511, allocations: 1.831 MB / 0.5282 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.3513, allocations: 0.7254 MB / 0.529 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.3514, allocations: 13.38 kB / 0.529 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.3515, allocations: 43.98 kB / 0.529 GB, free: 11.14 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3515, allocations: 0 / 0.529 GB, free: 11.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.3726, allocations: 3.815 MB / 0.5327 GB, free: 9.418 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/7.92, allocations: 9 kB / 0.5327 GB, free: 9.41 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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[10,1],t_new.table[10,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