Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",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.001246/0.001246, allocations: 114.4 kB / 17.78 MB, free: 5.27 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.001204/0.001204, allocations: 187 kB / 18.71 MB, free: 4.348 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.416/1.416, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2321/0.2321, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4455, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003469/0.449, allocations: 1.623 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.4506, allocations: 1.057 MB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.4507, allocations: 5.156 kB / 0.5211 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.451, allocations: 23.5 kB / 0.5211 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.4512, allocations: 45.8 kB / 0.5211 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.4518, allocations: 171.3 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.4519, allocations: 74.2 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.452, allocations: 16.06 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.4521, allocations: 28.66 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.4522, allocations: 27.94 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.4523, allocations: 4.281 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.4524, allocations: 59.55 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.4524, allocations: 20.69 kB / 0.5215 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.4525, allocations: 27.59 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.4527, allocations: 105.7 kB / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.4527, allocations: 0 / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4527, allocations: 0 / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4528, allocations: 1.031 kB / 0.5216 GB, free: 1.133 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.0004982/0.4533, allocations: 394.8 kB / 0.522 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4533, allocations: 9.312 kB / 0.522 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.4533, allocations: 36.55 kB / 0.5221 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.4534, allocations: 12.78 kB / 0.5221 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.4536, allocations: 194.1 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.4536, allocations: 5.578 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.4536, allocations: 6.75 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.4538, allocations: 76.3 kB / 0.5223 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4539, allocations: 0.7969 kB / 0.5223 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4539, allocations: 1.188 kB / 0.5223 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4539, allocations: 1.312 kB / 0.5223 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.4541, allocations: 46.09 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.4545, allocations: 303.2 kB / 0.5227 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.4547, allocations: 47.77 kB / 0.5227 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.203e-05/0.4548, allocations: 28.88 kB / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.4548, allocations: 0.5156 kB / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.4548, allocations: 33.38 kB / 0.5228 GB, free: 24 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.4548, allocations: 0 / 0.5228 GB, free: 24 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009627/0.4558, allocations: 229 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.4559, allocations: 79.3 kB / 0.5231 GB, free: 15.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.4561, allocations: 149.7 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4561, allocations: 29.64 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.4562, allocations: 94.17 kB / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.4562, allocations: 20.83 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.4563, allocations: 21.14 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4564, allocations: 324.2 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.4565, allocations: 37.64 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.4567, allocations: 55.34 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.457, allocations: 88.03 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.457, allocations: 4.031 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003488/0.4574, allocations: 122.8 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.4574, allocations: 5.219 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4574, allocations: 4 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.4574, allocations: 4.594 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.4576, allocations: 19.59 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.4576, allocations: 3.938 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.534e-05/0.4577, allocations: 18.34 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.4577, allocations: 1.797 kB / 0.524 GB, free: 15.1 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 (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 0.0001056/0.4578, allocations: 118 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.4579, allocations: 9.844 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.4583, allocations: 138.8 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4583, allocations: 5.344 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.4583, allocations: 5.594 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.4583, allocations: 3.984 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.4589, allocations: 403.2 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.459, allocations: 1.469 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.4591, allocations: 19.31 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.4591, allocations: 3.938 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4591, allocations: 9.469 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4591, allocations: 4.641 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4591, allocations: 1.375 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.4595, allocations: 213.4 kB / 0.5249 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.4595, allocations: 85.55 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.4596, allocations: 13.91 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.4597, allocations: 9.656 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.4597, allocations: 9.859 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.4597, allocations: 1.781 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.996e-05/0.4599, allocations: 109.7 kB / 0.5252 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.216e-06/0.4599, allocations: 0 / 0.5252 GB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.4602, allocations: 33.16 kB / 0.5252 GB, free: 14.18 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001643/0.4618, allocations: 1.098 MB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003417/0.4622, allocations: 85.98 kB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4622, allocations: 1.5 kB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.4623, allocations: 49.05 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.4627, allocations: 14.36 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.4648, allocations: 1.6 MB / 0.528 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.4651, allocations: 0.699 MB / 0.5286 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.4652, allocations: 28.83 kB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.4653, allocations: 30.48 kB / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4653, allocations: 0 / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.487, allocations: 3.157 MB / 0.5318 GB, free: 9.734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.632/8.119, allocations: 18.52 kB / 0.5318 GB, free: 9.719 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time