Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",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.001118/0.001118, allocations: 113.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.001132/0.001133, allocations: 188.9 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.371/1.371, 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.2068/0.2068, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3419, allocations: 60.81 MB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00398/0.3459, allocations: 1.716 MB / 0.5202 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.3475, allocations: 0.8647 MB / 0.521 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.3477, allocations: 9 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.3481, allocations: 41.8 kB / 0.5211 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.3485, allocations: 62.58 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.349, allocations: 108.7 kB / 0.5212 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.3493, allocations: 92.7 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3494, allocations: 19.88 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.3495, allocations: 41.19 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3497, allocations: 30.36 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.3497, allocations: 4.125 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.3499, allocations: 42.58 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.642e-05/0.35, allocations: 24.22 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.065e-05/0.3501, allocations: 42.59 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.3504, allocations: 118.3 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.3504, allocations: 0.7969 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3505, allocations: 7.938 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.3505, allocations: 1.312 kB / 0.5216 GB, free: 1.219 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.000731/0.3512, allocations: 426.8 kB / 0.522 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.3513, allocations: 9.375 kB / 0.5221 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.3513, allocations: 33.33 kB / 0.5221 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.3514, allocations: 15.77 kB / 0.5221 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.3518, allocations: 210.2 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.3518, allocations: 2.875 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.3519, allocations: 10.98 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3521, allocations: 61.45 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3521, allocations: 0 / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3521, allocations: 2.016 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3521, allocations: 0 / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.458e-05/0.3522, allocations: 18.48 kB / 0.5224 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.3527, allocations: 293.5 kB / 0.5227 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.3529, allocations: 64.38 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.475e-05/0.353, allocations: 20.38 kB / 0.5228 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.3531, allocations: 2.141 kB / 0.5228 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.3533, allocations: 64.3 kB / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.3533, allocations: 1.062 kB / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007462/0.354, allocations: 181.2 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.3541, allocations: 57.09 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.3544, allocations: 222.7 kB / 0.5233 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3545, allocations: 27.44 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.3545, allocations: 109.1 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.3546, allocations: 21.88 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.3546, allocations: 25.8 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3548, allocations: 328.2 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.3549, allocations: 21.91 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.031e-05/0.355, allocations: 38.83 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.3551, allocations: 54.14 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3551, allocations: 0 / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002076/0.3553, allocations: 104.9 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3554, allocations: 10.08 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3554, allocations: 5.344 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3554, allocations: 6.109 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.3555, allocations: 14.58 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3555, allocations: 1.406 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.3556, allocations: 6.609 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3556, allocations: 2.969 kB / 0.524 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.0001179/0.3557, allocations: 139.4 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.3557, allocations: 13.66 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.3558, allocations: 21.78 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3558, allocations: 1.438 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3558, allocations: 384 / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3558, allocations: 4.5 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.3564, allocations: 401.9 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3564, allocations: 5.094 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.3564, allocations: 9.703 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3564, allocations: 4.5 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3565, allocations: 7.406 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3565, allocations: 0 / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3565, allocations: 2.672 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.3567, allocations: 200.5 kB / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.3568, allocations: 89.02 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.3568, allocations: 5.719 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.3569, allocations: 3.094 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.3569, allocations: 9.453 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.357, allocations: 8.234 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.3571, allocations: 175.2 kB / 0.5251 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3572, allocations: 2 kB / 0.5251 GB, free: 14.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3574, allocations: 21.03 kB / 0.5251 GB, free: 14.22 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.001714/0.3592, allocations: 1.101 MB / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.3594, allocations: 55.64 kB / 0.5262 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3594, allocations: 0 / 0.5262 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.888e-05/0.3595, allocations: 33.02 kB / 0.5262 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3599, allocations: 36.75 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.002033/0.3619, allocations: 1.714 MB / 0.5279 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.3622, allocations: 0.714 MB / 0.5286 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.465e-05/0.3623, allocations: 13.03 kB / 0.5287 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.3624, allocations: 39.86 kB / 0.5287 GB, free: 11.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3624, allocations: 0 / 0.5287 GB, free: 11.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.3842, allocations: 3.596 MB / 0.5322 GB, free: 9.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/7.834, allocations: 2.219 kB / 0.5322 GB, free: 9.652 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.table[6,1],t_new.table[6,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time