Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.001643/0.001643, allocations: 110.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.001815/0.001816, allocations: 183.1 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.311/1.311, 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.1987/0.1987, allocations: 44.18 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3554, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003326/0.3588, allocations: 1.698 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3608, allocations: 1.488 MB / 0.5216 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.3609, allocations: 1.062 kB / 0.5216 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.3612, allocations: 40.48 kB / 0.5217 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.3615, allocations: 56.08 kB / 0.5217 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.3618, allocations: 113.1 kB / 0.5218 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.3619, allocations: 96.03 kB / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.362, allocations: 12.98 kB / 0.5219 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.982e-05/0.3621, allocations: 45.72 kB / 0.522 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.3623, allocations: 38.67 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.3623, allocations: 5.688 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3625, allocations: 62.05 kB / 0.5221 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.3625, allocations: 15.64 kB / 0.5221 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.3626, allocations: 29.03 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.3629, allocations: 124.6 kB / 0.5222 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3629, allocations: 0 / 0.5222 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3629, allocations: 0.5625 kB / 0.5222 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3629, allocations: 4 kB / 0.5222 GB, free: 0.7383 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.0005595/0.3635, allocations: 409.7 kB / 0.5226 GB, free: 340 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3635, allocations: 8.812 kB / 0.5226 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.3636, allocations: 33.7 kB / 0.5227 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.3636, allocations: 9.641 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.3639, allocations: 208 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3639, allocations: 5.219 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3639, allocations: 10.84 kB / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3641, allocations: 75.12 kB / 0.523 GB, free: 0 / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3641, allocations: 0 / 0.523 GB, free: 0 / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.3642, allocations: 5.203 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3642, allocations: 5.609 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.3643, allocations: 18.16 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.3646, allocations: 279.6 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3648, allocations: 56.47 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.3649, allocations: 24.02 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3649, allocations: 1.906 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.3651, allocations: 66.36 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.562e-06/0.3651, allocations: 0 / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005805/0.3657, allocations: 178.7 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.3658, allocations: 79.22 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.366, allocations: 151.3 kB / 0.5238 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.366, allocations: 26.67 kB / 0.5238 GB, free: 15.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.366, allocations: 97.86 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.3661, allocations: 26.23 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.3661, allocations: 23.16 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3663, allocations: 324 kB / 0.5243 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.3664, allocations: 21.16 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.3664, allocations: 41.59 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.3666, allocations: 62.09 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3666, allocations: 0.9375 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001895/0.3668, allocations: 104.4 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3668, allocations: 12.16 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3668, allocations: 3.031 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3668, allocations: 0.5156 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.3669, allocations: 13.47 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3669, allocations: 2.484 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.367, allocations: 7.953 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.367, allocations: 9.547 kB / 0.5245 GB, free: 14.65 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.0001175/0.3671, allocations: 121.2 kB / 0.5246 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.3672, allocations: 10.41 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.3672, allocations: 17.69 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3672, allocations: 4.125 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3672, allocations: 6.297 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3673, allocations: 7.875 kB / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.3677, allocations: 384.7 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3677, allocations: 3.938 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.3678, allocations: 9.438 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3678, allocations: 5 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3678, allocations: 6.641 kB / 0.5251 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3678, allocations: 1.219 kB / 0.5251 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3678, allocations: 1.094 kB / 0.5251 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.3682, allocations: 204.5 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.3682, allocations: 80.77 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.3683, allocations: 5.859 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.3683, allocations: 6.703 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.3684, allocations: 14.8 kB / 0.5254 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3684, allocations: 3.578 kB / 0.5254 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.389e-05/0.3685, allocations: 115.4 kB / 0.5255 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3685, allocations: 1.5 kB / 0.5255 GB, free: 13.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.3688, allocations: 34.14 kB / 0.5255 GB, free: 13.77 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.001677/0.3705, allocations: 1.127 MB / 0.5266 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.3707, allocations: 60.08 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3707, allocations: 1.438 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.631e-05/0.3708, allocations: 32.61 kB / 0.5267 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3712, allocations: 37.64 kB / 0.5268 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.373, allocations: 1.543 MB / 0.5283 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.3734, allocations: 0.6958 MB / 0.5289 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.011e-05/0.3735, allocations: 22.53 kB / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/0.3736, allocations: 34.36 kB / 0.529 GB, free: 10.84 MB / 398.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3736, allocations: 0 / 0.529 GB, free: 10.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.3977, allocations: 3.592 MB / 0.5325 GB, free: 9.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/7.893, allocations: 5.312 kB / 0.5325 GB, free: 9.168 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time