Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.0008812/0.0008812, allocations: 94.8 kB / 17.35 MB, free: 6.344 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.0009956/0.0009956, allocations: 171.1 kB / 18.25 MB, free: 5.508 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.344/1.344, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.000328, allocations: 8.5 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1155, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002266/0.1178, allocations: 1.333 MB / 473.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1195, allocations: 1.035 MB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.1196, allocations: 0 / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.1198, allocations: 27.91 kB / 474.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.12, allocations: 31.86 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.1205, allocations: 166.6 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1206, allocations: 59.84 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1207, allocations: 12 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.1e-05/0.1208, allocations: 19.86 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.121, allocations: 27.84 kB / 475.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.121, allocations: 8 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1211, allocations: 55.95 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.1212, allocations: 15.92 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.1213, allocations: 45.52 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.1215, allocations: 104 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1215, allocations: 3.938 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1215, allocations: 0 / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1215, allocations: 0 / 475.3 MB, free: 10.31 MB / 350.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.0005252/0.122, allocations: 387.3 kB / 475.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1221, allocations: 8.031 kB / 475.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.1221, allocations: 38.73 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.1222, allocations: 8.844 kB / 475.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1224, allocations: 196.1 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1224, allocations: 384 / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.1224, allocations: 4.375 kB / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1226, allocations: 91.27 kB / 476 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1227, allocations: 0 / 476 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1227, allocations: 7.984 kB / 476 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1227, allocations: 0 / 476 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.1228, allocations: 43.95 kB / 476.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.1233, allocations: 316.7 kB / 476.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1234, allocations: 54.5 kB / 476.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.1235, allocations: 32.94 kB / 476.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1236, allocations: 3.984 kB / 476.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1236, allocations: 34.56 kB / 476.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1236, allocations: 3.938 kB / 476.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000818/0.1244, allocations: 257.2 kB / 476.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.1245, allocations: 77.11 kB / 476.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1246, allocations: 148 kB / 477 MB, free: 8.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1246, allocations: 29.7 kB / 477 MB, free: 8.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.1247, allocations: 99.97 kB / 477.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1247, allocations: 19.78 kB / 477.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.1248, allocations: 21.72 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1249, allocations: 322.8 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.125, allocations: 39.97 kB / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1251, allocations: 65.67 kB / 477.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.1254, allocations: 113 kB / 477.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1254, allocations: 0 / 477.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002917/0.1257, allocations: 133.5 kB / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1257, allocations: 4 kB / 477.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1257, allocations: 4 kB / 477.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1258, allocations: 3.984 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1259, allocations: 23.98 kB / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1259, allocations: 3.938 kB / 477.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.126, allocations: 16 kB / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.126, allocations: 3.984 kB / 477.9 MB, free: 7.5 MB / 350.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 8.659e-05/0.1261, allocations: 125.7 kB / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.1261, allocations: 7.906 kB / 478 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.1265, allocations: 162.2 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1265, allocations: 0 / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1265, allocations: 3.938 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1265, allocations: 0 / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.127, allocations: 422.4 kB / 478.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1271, allocations: 4 kB / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.369e-05/0.1271, allocations: 23.98 kB / 478.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1272, allocations: 7.938 kB / 478.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1272, allocations: 4 kB / 478.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1272, allocations: 0 / 478.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1272, allocations: 0 / 478.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.1275, allocations: 243.3 kB / 478.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.1276, allocations: 85 kB / 478.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1276, allocations: 7.938 kB / 478.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.1277, allocations: 15.98 kB / 478.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.1278, allocations: 8 kB / 478.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.1278, allocations: 0 / 478.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.55e-05/0.1279, allocations: 117.1 kB / 479.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1279, allocations: 0 / 479.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1281, allocations: 19.94 kB / 479.1 MB, free: 6.164 MB / 350.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.001431/0.1296, allocations: 1.121 MB / 480.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.1299, allocations: 111.9 kB / 480.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1299, allocations: 0 / 480.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.13, allocations: 51.97 kB / 480.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1304, allocations: 15.98 kB / 480.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1322, allocations: 1.66 MB / 482 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.1325, allocations: 0.7043 MB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.01e-05/0.1326, allocations: 25.11 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.1327, allocations: 31.42 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1327, allocations: 0 / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.1457, allocations: 2.643 MB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.146, allocations: 240.3 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/1.884, allocations: 0 / 485.7 MB, free: 15.71 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches