Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.001395/0.001395, allocations: 113.4 kB / 17.78 MB, free: 5.285 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.001243/0.001243, allocations: 188.9 kB / 18.71 MB, free: 4.363 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.338/1.338, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.3205/0.3205, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3687, allocations: 60.83 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.00314/0.3719, allocations: 1.58 MB / 0.52 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008791/0.3728, allocations: 409 kB / 0.5204 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.14e-05/0.3729, allocations: 5.312 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.3733, allocations: 68.58 kB / 0.5205 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.3736, allocations: 65.69 kB / 0.5205 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.374, allocations: 109 kB / 0.5206 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.3743, allocations: 74.69 kB / 0.5207 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.3744, allocations: 20.31 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.3745, allocations: 34.83 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.3746, allocations: 43.97 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.3747, allocations: 3.438 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3748, allocations: 47.3 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.3749, allocations: 18.8 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.3749, allocations: 26.16 kB / 0.5209 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.3752, allocations: 105 kB / 0.521 GB, free: 1.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3752, allocations: 0 / 0.521 GB, free: 1.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3752, allocations: 0 / 0.521 GB, free: 1.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3752, allocations: 4.75 kB / 0.521 GB, free: 1.695 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005257/0.3758, allocations: 397.8 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.3758, allocations: 10.91 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.3759, allocations: 31.41 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.3759, allocations: 14.61 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3761, allocations: 192.2 kB / 0.5216 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3762, allocations: 10.84 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.3762, allocations: 14.09 kB / 0.5216 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3764, allocations: 58.06 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3764, allocations: 0 / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3764, allocations: 1.156 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.3764, allocations: 0 / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.3765, allocations: 26.45 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.377, allocations: 299.6 kB / 0.522 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.3771, allocations: 49.81 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.3772, allocations: 19.45 kB / 0.5221 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3772, allocations: 1.984 kB / 0.5221 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3772, allocations: 30.56 kB / 0.5221 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.3772, allocations: 1.25 kB / 0.5221 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009822/0.3782, allocations: 234.8 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.3783, allocations: 56.38 kB / 0.5224 GB, free: 448 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.3785, allocations: 190.1 kB / 0.5226 GB, free: 320 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.3785, allocations: 30.67 kB / 0.5226 GB, free: 284 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.3786, allocations: 108.1 kB / 0.5227 GB, free: 180 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.3786, allocations: 29.78 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.3787, allocations: 25.17 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3788, allocations: 321.5 kB / 0.523 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.551e-05/0.3789, allocations: 25.34 kB / 0.5231 GB, free: 15.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.379, allocations: 31.72 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.3792, allocations: 76.17 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3792, allocations: 0 / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002619/0.3795, allocations: 112.4 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.3795, allocations: 5.625 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3795, allocations: 0 / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3796, allocations: 2.031 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3797, allocations: 20.72 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3797, allocations: 9.375 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.3798, allocations: 8.344 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3798, allocations: 6.062 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.000141/0.3799, allocations: 126.9 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.38, allocations: 8.672 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.3803, allocations: 130.2 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3803, allocations: 5.75 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3804, allocations: 3.938 kB / 0.5236 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3804, allocations: 5.828 kB / 0.5236 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/0.3811, allocations: 413.7 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3811, allocations: 5.219 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.3812, allocations: 16.69 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3812, allocations: 1.25 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.3812, allocations: 10.28 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3812, allocations: 0.6094 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3812, allocations: 5.031 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.3816, allocations: 209.5 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/0.3817, allocations: 92.73 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3817, allocations: 1.031 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.3818, allocations: 5.781 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.3818, allocations: 9.391 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.3819, allocations: 3.688 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.3821, allocations: 151.1 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3821, allocations: 0 / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000283/0.3824, allocations: 23.88 kB / 0.5245 GB, free: 14.74 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002017/0.3844, allocations: 1.085 MB / 0.5256 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.3847, allocations: 76.14 kB / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3847, allocations: 0 / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.3848, allocations: 42.33 kB / 0.5257 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.3853, allocations: 33.36 kB / 0.5257 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.3873, allocations: 1.648 MB / 0.5273 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.3876, allocations: 0.706 MB / 0.528 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.3877, allocations: 21.77 kB / 0.528 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.3878, allocations: 29.09 kB / 0.5281 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3878, allocations: 0 / 0.5281 GB, free: 11.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.4098, allocations: 3.044 MB / 0.531 GB, free: 10.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.935, allocations: 2.125 kB / 0.531 GB, free: 10.48 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,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.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time