Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",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.001206/0.001206, allocations: 114.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.001176/0.001176, allocations: 187.8 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.418/1.418, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2325/0.2325, allocations: 44.19 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4329, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003066/0.4361, allocations: 1.627 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.4377, allocations: 1.056 MB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.4377, allocations: 5.094 kB / 0.5211 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.438, allocations: 24.41 kB / 0.5211 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.4383, allocations: 49.8 kB / 0.5211 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.4388, allocations: 163.6 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.439, allocations: 72.94 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.4391, allocations: 16.28 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.115e-05/0.4392, allocations: 29.92 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.4394, allocations: 30.98 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.4394, allocations: 3.844 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.4395, allocations: 59.52 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.4396, allocations: 21.41 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.4397, allocations: 27.42 kB / 0.5215 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.4399, allocations: 101.8 kB / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4399, allocations: 0 / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4399, allocations: 0 / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.4399, allocations: 0 / 0.5216 GB, free: 1.145 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.0005326/0.4405, allocations: 398.1 kB / 0.522 GB, free: 0.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4405, allocations: 10.25 kB / 0.522 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.67e-05/0.4406, allocations: 36.53 kB / 0.5221 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.4406, allocations: 13.08 kB / 0.5221 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.4408, allocations: 194.2 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-06/0.4408, allocations: 1.5 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.4408, allocations: 3.438 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.441, allocations: 83.31 kB / 0.5223 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.441, allocations: 1.094 kB / 0.5223 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.4411, allocations: 0 / 0.5223 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4411, allocations: 1.734 kB / 0.5223 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.4412, allocations: 39.66 kB / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.4416, allocations: 306.8 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4418, allocations: 47.33 kB / 0.5227 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.4419, allocations: 29.64 kB / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.4419, allocations: 0 / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.4419, allocations: 32.5 kB / 0.5228 GB, free: 36 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.4419, allocations: 0 / 0.5228 GB, free: 36 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008904/0.4428, allocations: 226.5 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.4429, allocations: 78.61 kB / 0.5231 GB, free: 15.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.443, allocations: 151.7 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.4431, allocations: 27.17 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.4431, allocations: 93.97 kB / 0.5233 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.4432, allocations: 28.19 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.4432, allocations: 21.62 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4434, allocations: 320.8 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.4435, allocations: 40.97 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.4437, allocations: 51.33 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.4439, allocations: 91.45 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.444, allocations: 4.031 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000333/0.4443, allocations: 122.4 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4443, allocations: 9.625 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4443, allocations: 0 / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4444, allocations: 9.109 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4445, allocations: 19.48 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4445, allocations: 4.688 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.4446, allocations: 13.62 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.4446, allocations: 1.25 kB / 0.524 GB, free: 15.11 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 9.345e-05/0.4447, allocations: 122.5 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.4447, allocations: 7.156 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.4451, allocations: 141.5 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4451, allocations: 5.312 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4451, allocations: 8.594 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4451, allocations: 1.188 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005876/0.4457, allocations: 400.2 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4457, allocations: 0 / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.4458, allocations: 18.62 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.4459, allocations: 8.391 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.4459, allocations: 5.781 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.4459, allocations: 0.6562 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4459, allocations: 0 / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.4462, allocations: 220 kB / 0.5249 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.4463, allocations: 89.45 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.4463, allocations: 8.453 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.4464, allocations: 9.922 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.4465, allocations: 6.781 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-06/0.4465, allocations: 6.156 kB / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.611e-05/0.4466, allocations: 108.2 kB / 0.5252 GB, free: 14.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4466, allocations: 2.031 kB / 0.5252 GB, free: 14.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.4469, allocations: 30.7 kB / 0.5252 GB, free: 14.2 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.001586/0.4485, allocations: 1.097 MB / 0.5263 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000347/0.4488, allocations: 87.33 kB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4488, allocations: 0 / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.449, allocations: 53.77 kB / 0.5264 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.4494, allocations: 24.16 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.002217/0.4516, allocations: 1.601 MB / 0.528 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.4519, allocations: 0.6969 MB / 0.5287 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.452, allocations: 28.8 kB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.4521, allocations: 27.34 kB / 0.5287 GB, free: 11.31 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4521, allocations: 0 / 0.5287 GB, free: 11.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.4738, allocations: 3.152 MB / 0.5318 GB, free: 9.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.135, allocations: 21.02 kB / 0.5318 GB, free: 9.723 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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