Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.001079/0.001079, 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.001104/0.001104, allocations: 183.8 kB / 18.71 MB, free: 4.348 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.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.204/0.204, allocations: 44.17 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3497, allocations: 60.82 MB / 0.5185 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002565/0.3523, allocations: 1.794 MB / 0.5202 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3542, allocations: 1.559 MB / 0.5218 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.3543, allocations: 2.25 kB / 0.5218 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.3546, allocations: 52.66 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.3549, allocations: 94.38 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.3553, allocations: 170.9 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.3555, allocations: 175.5 kB / 0.5222 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.349e-05/0.3556, allocations: 13.67 kB / 0.5222 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.3557, allocations: 82.48 kB / 0.5223 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.3559, allocations: 70.91 kB / 0.5224 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.3559, allocations: 8.031 kB / 0.5224 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3561, allocations: 73.09 kB / 0.5225 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.3561, allocations: 27.17 kB / 0.5225 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.3562, allocations: 64.86 kB / 0.5226 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3564, allocations: 172 kB / 0.5227 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3564, allocations: 3.938 kB / 0.5227 GB, free: 488 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3565, allocations: 0 / 0.5227 GB, free: 488 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3565, allocations: 1.188 kB / 0.5227 GB, free: 488 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005242/0.357, allocations: 463.7 kB / 0.5232 GB, free: 44 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.357, allocations: 11.05 kB / 0.5232 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.627e-05/0.3571, allocations: 40.28 kB / 0.5232 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.3572, allocations: 16.78 kB / 0.5232 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.3575, allocations: 244.6 kB / 0.5235 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3575, allocations: 6.125 kB / 0.5235 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3575, allocations: 7.953 kB / 0.5235 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3578, allocations: 93.55 kB / 0.5236 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3578, allocations: 5.156 kB / 0.5236 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3578, allocations: 5.984 kB / 0.5236 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3578, allocations: 0.9688 kB / 0.5236 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3579, allocations: 29.44 kB / 0.5236 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.3582, allocations: 208.5 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.3584, allocations: 111 kB / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.262e-05/0.3585, allocations: 42.36 kB / 0.5239 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.3586, allocations: 2 kB / 0.5239 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.3588, allocations: 112.6 kB / 0.5241 GB, free: 15.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3588, allocations: 0 / 0.5241 GB, free: 15.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004605/0.3593, allocations: 169.5 kB / 0.5242 GB, free: 15.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.3594, allocations: 131 kB / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.3596, allocations: 213.7 kB / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3596, allocations: 32.39 kB / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.3597, allocations: 109.7 kB / 0.5247 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.3597, allocations: 35.81 kB / 0.5247 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.3598, allocations: 27.94 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3599, allocations: 329.7 kB / 0.5251 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.36, allocations: 28.06 kB / 0.5251 GB, free: 14.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3601, allocations: 69.27 kB / 0.5252 GB, free: 14.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3603, allocations: 90.31 kB / 0.5252 GB, free: 14.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3603, allocations: 3.938 kB / 0.5252 GB, free: 14.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002768/0.3606, allocations: 135 kB / 0.5254 GB, free: 14.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3606, allocations: 10.14 kB / 0.5254 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3606, allocations: 0 / 0.5254 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3606, allocations: 6.875 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3607, allocations: 25.38 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3608, allocations: 5.141 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.3608, allocations: 14.69 kB / 0.5254 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3609, allocations: 4.375 kB / 0.5254 GB, free: 14.15 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001073/0.361, allocations: 131.5 kB / 0.5256 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.361, allocations: 21.05 kB / 0.5256 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.3611, allocations: 16.78 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3611, allocations: 5.344 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3611, allocations: 5.25 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3611, allocations: 1.703 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.3613, allocations: 218.2 kB / 0.5258 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3613, allocations: 5.062 kB / 0.5258 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.3613, allocations: 8 kB / 0.5258 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3613, allocations: 0 / 0.5258 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.3614, allocations: 7.859 kB / 0.5258 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3614, allocations: 1.062 kB / 0.5258 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.3614, allocations: 1.75 kB / 0.5258 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.3617, allocations: 171.8 kB / 0.526 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.3617, allocations: 89.94 kB / 0.5261 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.3618, allocations: 7.234 kB / 0.5261 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.3618, allocations: 5.703 kB / 0.5261 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.3619, allocations: 7.031 kB / 0.5261 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.3619, allocations: 9.328 kB / 0.5261 GB, free: 13.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.3621, allocations: 161.3 kB / 0.5263 GB, free: 13.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3621, allocations: 0 / 0.5263 GB, free: 13.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.3623, allocations: 36.12 kB / 0.5263 GB, free: 13.44 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001476/0.3638, allocations: 1.056 MB / 0.5273 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3641, allocations: 84.38 kB / 0.5274 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3641, allocations: 1.406 kB / 0.5274 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.3642, allocations: 34.3 kB / 0.5274 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3646, allocations: 59.22 kB / 0.5275 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.3667, allocations: 1.829 MB / 0.5293 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.367, allocations: 0.7122 MB / 0.53 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.3671, allocations: 32.84 kB / 0.53 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.3672, allocations: 54.34 kB / 0.5301 GB, free: 10.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3672, allocations: 0 / 0.5301 GB, free: 10.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.391, allocations: 4.768 MB / 0.5347 GB, free: 8.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.218, allocations: 8.969 kB / 0.5347 GB, free: 8.008 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new_2.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time