Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.001229/0.001229, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001845/0.001845, allocations: 180.1 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.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2006/0.2006, allocations: 44.18 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3155, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002629/0.3182, allocations: 1.713 MB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3194, allocations: 0.8742 MB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.3195, allocations: 0 / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.3197, allocations: 46.97 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.3199, allocations: 63.7 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.3202, allocations: 109.5 kB / 0.5212 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.3204, allocations: 96.45 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.3205, allocations: 11.67 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.067e-05/0.3205, allocations: 41.98 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.56e-05/0.3206, allocations: 33 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3206, allocations: 8.688 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.751e-05/0.3207, allocations: 42.23 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.3208, allocations: 35.34 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.3208, allocations: 35.31 kB / 0.5215 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.321, allocations: 126.6 kB / 0.5217 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.321, allocations: 1.25 kB / 0.5217 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3211, allocations: 3.938 kB / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3211, allocations: 0.6094 kB / 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.0004412/0.3215, allocations: 435.7 kB / 0.5221 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3216, allocations: 14.14 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.3216, allocations: 36.33 kB / 0.5221 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.3216, allocations: 16.09 kB / 0.5221 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.3219, allocations: 222.8 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.322, allocations: 6 kB / 0.5224 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.322, allocations: 5.906 kB / 0.5224 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.3221, allocations: 54.61 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3221, allocations: 0 / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3222, allocations: 0.7812 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3222, allocations: 1.719 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.3223, allocations: 25.3 kB / 0.5224 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.3226, allocations: 294.1 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.3228, allocations: 56.64 kB / 0.5228 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.3228, allocations: 19.16 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3228, allocations: 5.094 kB / 0.5228 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.323, allocations: 66.7 kB / 0.5229 GB, free: 52 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.323, allocations: 3.984 kB / 0.5229 GB, free: 48 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005277/0.3235, allocations: 186.9 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3236, allocations: 61.27 kB / 0.5231 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.3239, allocations: 262.7 kB / 0.5234 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3239, allocations: 25.7 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.324, allocations: 119.2 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.324, allocations: 25.81 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.3241, allocations: 25.7 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3242, allocations: 325.3 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.928e-05/0.3242, allocations: 21.06 kB / 0.5239 GB, free: 15.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/0.3243, allocations: 39.69 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.3244, allocations: 61.56 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3244, allocations: 1.656 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.3246, allocations: 101.4 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3246, allocations: 6.453 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3247, allocations: 0 / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3247, allocations: 2.281 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.784e-05/0.3248, allocations: 18.14 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3248, allocations: 1.797 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.3248, allocations: 14.97 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3248, allocations: 3.344 kB / 0.5241 GB, free: 15.08 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.0001115/0.325, allocations: 134.2 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.325, allocations: 14.7 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.325, allocations: 18.94 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3251, allocations: 2.141 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3251, allocations: 0 / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3251, allocations: 4.641 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.3255, allocations: 406.4 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3255, allocations: 384 / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.3256, allocations: 13.39 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3256, allocations: 5.406 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3256, allocations: 7.078 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3256, allocations: 0 / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3256, allocations: 1.25 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.3259, allocations: 213.9 kB / 0.5249 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.3259, allocations: 94.17 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.326, allocations: 5.859 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.326, allocations: 2.688 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.3261, allocations: 5.438 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.3261, allocations: 8.594 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.3263, allocations: 200.9 kB / 0.5252 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3263, allocations: 0 / 0.5252 GB, free: 14.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3265, allocations: 26.84 kB / 0.5252 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.001351/0.3279, allocations: 1.1 MB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.3281, allocations: 55.48 kB / 0.5263 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3281, allocations: 1.844 kB / 0.5263 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.78e-05/0.3282, allocations: 27.3 kB / 0.5264 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.3285, allocations: 36.66 kB / 0.5264 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.3304, allocations: 1.81 MB / 0.5282 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3307, allocations: 0.7164 MB / 0.5289 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.3307, allocations: 16.92 kB / 0.5289 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.3308, allocations: 43.19 kB / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3308, allocations: 1.312 kB / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.3507, allocations: 3.755 MB / 0.5326 GB, free: 9.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.198, allocations: 9.203 kB / 0.5326 GB, free: 9.445 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.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