Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.001121/0.001121, 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.001895/0.001895, 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.358/1.358, 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.203/0.203, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.91 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3682, allocations: 60.81 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002864/0.3711, allocations: 1.664 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3722, allocations: 0.8568 MB / 0.521 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.3723, allocations: 1.438 kB / 0.521 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.3726, allocations: 61.09 kB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.3728, allocations: 70.58 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.3731, allocations: 98.97 kB / 0.5212 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.3733, allocations: 103.8 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.3733, allocations: 4.953 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.98e-05/0.3734, allocations: 42.34 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3735, allocations: 47.86 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3736, allocations: 7.469 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-05/0.3737, allocations: 33.91 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.3737, allocations: 17.78 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.3738, allocations: 32.39 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.374, allocations: 94.59 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.374, allocations: 0 / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.374, allocations: 1.375 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.374, allocations: 0 / 0.5215 GB, free: 1.281 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005047/0.3745, allocations: 404.5 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3746, allocations: 9.219 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.3746, allocations: 36.52 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.3746, allocations: 9.016 kB / 0.522 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3749, allocations: 205.5 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3749, allocations: 6.062 kB / 0.5222 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3749, allocations: 6.5 kB / 0.5222 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.375, allocations: 45.97 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.375, allocations: 0 / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.3751, allocations: 5.359 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3751, allocations: 1.344 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.275e-05/0.3751, allocations: 22.41 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.3753, allocations: 182.6 kB / 0.5224 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.3754, allocations: 53.38 kB / 0.5225 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.3755, allocations: 19.45 kB / 0.5225 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3755, allocations: 0.9062 kB / 0.5225 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.3757, allocations: 76.75 kB / 0.5226 GB, free: 248 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.3757, allocations: 0 / 0.5226 GB, free: 248 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.00025/0.3759, allocations: 93.03 kB / 0.5227 GB, free: 196 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.376, allocations: 51.41 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3761, allocations: 191.1 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3762, allocations: 26.95 kB / 0.5229 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.3762, allocations: 99.47 kB / 0.523 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.3763, allocations: 22.62 kB / 0.523 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.3763, allocations: 20.66 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3764, allocations: 325.5 kB / 0.5234 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.3765, allocations: 13.62 kB / 0.5234 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.488e-05/0.3765, allocations: 29.98 kB / 0.5234 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.424e-05/0.3766, allocations: 46.16 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3766, allocations: 3.938 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001443/0.3768, allocations: 81.47 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3768, allocations: 8.75 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3768, allocations: 1.047 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3768, allocations: 5.859 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.3769, allocations: 8.828 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3769, allocations: 6.172 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.377, allocations: 7.672 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.377, allocations: 1.406 kB / 0.5236 GB, free: 15.38 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 (7): * Single equations (assignments): 7 * 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 9.929e-05/0.3771, allocations: 132 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.3771, allocations: 8.891 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.3772, allocations: 14.25 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3772, allocations: 2.141 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3772, allocations: 0 / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3772, allocations: 0 / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.3773, allocations: 193.8 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3773, allocations: 9.078 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.3774, allocations: 8.344 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3774, allocations: 4.609 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3774, allocations: 2.328 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3774, allocations: 0 / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3774, allocations: 0 / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.3776, allocations: 106.2 kB / 0.524 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.3776, allocations: 87.12 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3777, allocations: 2.906 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.3777, allocations: 1.859 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.3777, allocations: 6.984 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3778, allocations: 3.484 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.3779, allocations: 139.8 kB / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3779, allocations: 0 / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002071/0.3781, allocations: 18.34 kB / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001198/0.3793, allocations: 0.9508 MB / 0.5252 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.3795, allocations: 44.12 kB / 0.5253 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3795, allocations: 1.344 kB / 0.5253 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.3796, allocations: 21.59 kB / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.3798, allocations: 23.38 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.3813, allocations: 1.492 MB / 0.5268 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3816, allocations: 0.6973 MB / 0.5274 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.453e-05/0.3817, allocations: 10.91 kB / 0.5275 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.3817, allocations: 31.53 kB / 0.5275 GB, free: 12.01 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3817, allocations: 0.8125 kB / 0.5275 GB, free: 12.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.4017, allocations: 3.109 MB / 0.5305 GB, free: 10.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/7.813, allocations: 16.84 kB / 0.5305 GB, free: 10.71 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.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.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