Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001153/0.001152, allocations: 106.4 kB / 17.78 MB, free: 5.316 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: 187.1 kB / 18.71 MB, free: 4.387 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.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2028/0.2028, allocations: 44.19 MB / 336.8 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3482, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002618/0.3509, allocations: 1.584 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007394/0.3516, allocations: 406.1 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.3517, allocations: 0 / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.352, allocations: 76.88 kB / 0.5205 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.3522, allocations: 56.75 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3525, allocations: 86.25 kB / 0.5206 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.3527, allocations: 70.78 kB / 0.5207 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3528, allocations: 18.44 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.184e-05/0.3529, allocations: 35.55 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.353, allocations: 47.19 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.353, allocations: 3.594 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3531, allocations: 46.7 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.3532, allocations: 15.89 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.3533, allocations: 32.73 kB / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3535, allocations: 99.78 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3535, allocations: 1.062 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3535, allocations: 0 / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3535, allocations: 4 kB / 0.5209 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.0004718/0.354, allocations: 401.8 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.354, allocations: 10.39 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.3541, allocations: 33.5 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.3541, allocations: 8.469 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.3543, allocations: 201.3 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3543, allocations: 1.469 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3543, allocations: 7.5 kB / 0.5216 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3545, allocations: 60.55 kB / 0.5216 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3545, allocations: 0 / 0.5216 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3545, allocations: 2 kB / 0.5216 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3546, allocations: 4 kB / 0.5216 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3547, allocations: 24.64 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.355, allocations: 293.1 kB / 0.5219 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.3552, allocations: 46.02 kB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.3552, allocations: 19.7 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3553, allocations: 1.188 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3553, allocations: 32.36 kB / 0.522 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3553, allocations: 0 / 0.522 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00082/0.3561, allocations: 214.3 kB / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.3562, allocations: 61.44 kB / 0.5223 GB, free: 448 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3563, allocations: 195.4 kB / 0.5225 GB, free: 316 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.844e-06/0.3563, allocations: 25.7 kB / 0.5225 GB, free: 284 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.3564, allocations: 99.98 kB / 0.5226 GB, free: 188 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.3564, allocations: 28.91 kB / 0.5226 GB, free: 164 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.3565, allocations: 24.39 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3566, allocations: 321.4 kB / 0.523 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.3567, allocations: 22.73 kB / 0.523 GB, free: 15.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.3567, allocations: 27.38 kB / 0.523 GB, free: 15.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3569, allocations: 62.64 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3569, allocations: 1.469 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002059/0.3571, allocations: 104.8 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3571, allocations: 5.188 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3571, allocations: 1.406 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3572, allocations: 0 / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.3573, allocations: 16.91 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3573, allocations: 8.781 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.3573, allocations: 12.97 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3573, allocations: 6.609 kB / 0.5232 GB, free: 15.7 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 8.986e-05/0.3574, allocations: 125.8 kB / 0.5233 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.3575, allocations: 8.781 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.3578, allocations: 120.6 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3578, allocations: 1.219 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3578, allocations: 5.344 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3578, allocations: 0.8438 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.3583, allocations: 398.1 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3583, allocations: 4.812 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/0.3584, allocations: 17.36 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3584, allocations: 1.125 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3584, allocations: 1.969 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3584, allocations: 5.031 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3584, allocations: 0 / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.3587, allocations: 214.5 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.3588, allocations: 88.56 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3588, allocations: 2.125 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.3589, allocations: 5.281 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.3589, allocations: 6.328 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3589, allocations: 7.531 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.359, allocations: 150.1 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3591, allocations: 0 / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000263/0.3593, allocations: 18.89 kB / 0.5244 GB, free: 14.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: 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.001498/0.3608, allocations: 1.081 MB / 0.5254 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3611, allocations: 68.5 kB / 0.5255 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3611, allocations: 1.094 kB / 0.5255 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.3612, allocations: 39.14 kB / 0.5255 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.3616, allocations: 32.83 kB / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.3635, allocations: 1.598 MB / 0.5271 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3638, allocations: 0.7097 MB / 0.5278 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.076e-05/0.3639, allocations: 13.25 kB / 0.5278 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.364, allocations: 28.44 kB / 0.5278 GB, free: 11.86 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.364, allocations: 0 / 0.5278 GB, free: 11.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.3836, allocations: 2.988 MB / 0.5308 GB, free: 10.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/8.051, allocations: 8.078 kB / 0.5308 GB, free: 10.59 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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(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.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time