Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",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.001038/0.001038, 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.001032/0.001032, 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.291/1.291, 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.2052/0.2052, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3586, allocations: 60.83 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002775/0.3615, allocations: 1.697 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3627, allocations: 0.8795 MB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.3628, allocations: 1.156 kB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.3631, allocations: 35.33 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.3633, allocations: 55.56 kB / 0.5211 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.3635, allocations: 108.4 kB / 0.5212 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.3637, allocations: 99.62 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/0.3638, allocations: 16.02 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.237e-05/0.3639, allocations: 37.86 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.244e-05/0.364, allocations: 30.78 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.364, allocations: 3.438 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-05/0.3641, allocations: 46.55 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.3642, allocations: 17.42 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.3642, allocations: 37.8 kB / 0.5215 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.3644, allocations: 113.7 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.3644, allocations: 0.75 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3644, allocations: 1.312 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.3644, allocations: 3.938 kB / 0.5216 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.0004265/0.3648, allocations: 407.1 kB / 0.522 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3649, allocations: 9.594 kB / 0.522 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.3649, allocations: 32.8 kB / 0.522 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.365, allocations: 9.281 kB / 0.522 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.3652, allocations: 213.8 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3652, allocations: 10.95 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.3652, allocations: 6.094 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3654, allocations: 54.39 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3654, allocations: 3.938 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.3654, allocations: 1.219 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3654, allocations: 1.781 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/0.3655, allocations: 17.75 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.3658, allocations: 289.8 kB / 0.5226 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.366, allocations: 64.66 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.366, allocations: 19.86 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.366, allocations: 1.75 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.3662, allocations: 64.97 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3662, allocations: 5 kB / 0.5228 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005526/0.3668, allocations: 176.6 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.3668, allocations: 56.47 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.367, allocations: 190.2 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.367, allocations: 30.77 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.3671, allocations: 100.9 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.3671, allocations: 25.34 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.3672, allocations: 26.58 kB / 0.5233 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3673, allocations: 322.1 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.945e-05/0.3674, allocations: 25.33 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.828e-05/0.3674, allocations: 35.48 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.3676, allocations: 61.7 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3676, allocations: 0 / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001765/0.3678, allocations: 101 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3678, allocations: 6.406 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3678, allocations: 0 / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3678, allocations: 1.406 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.3679, allocations: 16 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3679, allocations: 0.8438 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.368, allocations: 14.64 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.368, allocations: 11.7 kB / 0.5239 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 8.885e-05/0.3681, allocations: 120.5 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3681, allocations: 14.95 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.3681, allocations: 15.2 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3682, allocations: 1.094 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3682, allocations: 0.6094 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.3682, allocations: 4.688 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.3686, allocations: 393.6 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3686, allocations: 1.062 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.3687, allocations: 9.203 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3687, allocations: 9.438 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3687, allocations: 5.828 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3687, allocations: 6.016 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3687, allocations: 0 / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.369, allocations: 205 kB / 0.5247 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.369, allocations: 84.16 kB / 0.5247 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.3691, allocations: 14.94 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.3691, allocations: 3.859 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3692, allocations: 5.125 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3692, allocations: 3.891 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3693, allocations: 147.5 kB / 0.5249 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3693, allocations: 0 / 0.5249 GB, free: 14.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.3696, allocations: 21.92 kB / 0.5249 GB, free: 14.26 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.001401/0.371, allocations: 1.099 MB / 0.526 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.3712, allocations: 65.27 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3712, allocations: 0 / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.3713, allocations: 27.97 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.3716, allocations: 30.58 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.3733, allocations: 1.63 MB / 0.5277 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3736, allocations: 0.7007 MB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.274e-05/0.3736, allocations: 13.72 kB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.3737, allocations: 34.95 kB / 0.5284 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3737, allocations: 0 / 0.5284 GB, free: 11.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.3956, allocations: 3.422 MB / 0.5318 GB, free: 9.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.874, allocations: 17.02 kB / 0.5318 GB, free: 9.824 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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