Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",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.001679/0.001679, allocations: 109.5 kB / 17.77 MB, free: 5.293 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.001771/0.001771, allocations: 188 kB / 18.71 MB, free: 4.367 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.39/1.39, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2332/0.2332, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001455, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3363, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003382/0.3397, allocations: 1.584 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007627/0.3405, allocations: 401.5 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.667e-05/0.3406, allocations: 1.25 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.3409, allocations: 72.28 kB / 0.5205 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.3411, allocations: 67.58 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.3414, allocations: 88.61 kB / 0.5206 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3416, allocations: 70.56 kB / 0.5207 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3418, allocations: 18.25 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.611e-05/0.3418, allocations: 37.52 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.342, allocations: 58.02 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.342, allocations: 2.344 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.3421, allocations: 44.12 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.3422, allocations: 22.36 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.3422, allocations: 26.48 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.3425, allocations: 106.1 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3425, allocations: 0 / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3425, allocations: 0 / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3425, allocations: 4.969 kB / 0.521 GB, free: 1.691 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.0007139/0.3432, allocations: 409.9 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/0.3433, allocations: 10.28 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.3433, allocations: 32.53 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.3434, allocations: 10.16 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.3437, allocations: 193.8 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3437, allocations: 1.406 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.3437, allocations: 11.88 kB / 0.5216 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.344, allocations: 51.03 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.344, allocations: 4.938 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.344, allocations: 4 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.344, allocations: 1.375 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.3442, allocations: 28.86 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.3447, allocations: 294.5 kB / 0.522 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.3449, allocations: 42.86 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.3449, allocations: 22.42 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.345, allocations: 1.719 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.345, allocations: 31.66 kB / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.345, allocations: 0 / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001001/0.346, allocations: 220 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.3461, allocations: 56.56 kB / 0.5223 GB, free: 448 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.3463, allocations: 210.1 kB / 0.5225 GB, free: 308 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.3463, allocations: 25.7 kB / 0.5226 GB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.3464, allocations: 105.1 kB / 0.5227 GB, free: 176 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.3465, allocations: 28.61 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.3465, allocations: 21.36 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3467, allocations: 321.6 kB / 0.523 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.3468, allocations: 31.94 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.3468, allocations: 26.03 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.347, allocations: 63.75 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.347, allocations: 0 / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002375/0.3473, allocations: 106.1 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3473, allocations: 4.812 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3473, allocations: 8.688 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3473, allocations: 0 / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3474, allocations: 22.2 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.3474, allocations: 3.938 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.3475, allocations: 4.922 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.3475, allocations: 2.906 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.0001017/0.3476, allocations: 127.2 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.3477, allocations: 8.25 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.3479, allocations: 114.2 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3479, allocations: 5.734 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.348, allocations: 3.938 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.348, allocations: 0.75 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.3485, allocations: 407.7 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3485, allocations: 9.125 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/0.3486, allocations: 16.3 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3486, allocations: 1.781 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3486, allocations: 1.031 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3486, allocations: 1.984 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3486, allocations: 5 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.3489, allocations: 206.8 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.3489, allocations: 88.78 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.349, allocations: 5.125 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.349, allocations: 6.359 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.3491, allocations: 8.922 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.3491, allocations: 2.844 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.3492, allocations: 156.4 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3492, allocations: 0 / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000269/0.3495, allocations: 22.78 kB / 0.5244 GB, free: 14.75 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.001404/0.3509, allocations: 1.089 MB / 0.5255 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3512, allocations: 63.25 kB / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3512, allocations: 0 / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/0.3513, allocations: 38.98 kB / 0.5256 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.0003253/0.3516, allocations: 24.88 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.3535, allocations: 1.634 MB / 0.5272 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.3538, allocations: 0.7071 MB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.427e-05/0.3538, allocations: 17.27 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.3539, allocations: 32.78 kB / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3539, allocations: 0 / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.3744, allocations: 3.035 MB / 0.5309 GB, free: 10.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.505/7.879, allocations: 14.33 kB / 0.5309 GB, free: 10.52 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nout,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.table[6,1],t_new.table[6,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time