Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",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.001003/0.001003, allocations: 94.88 kB / 17.35 MB, free: 6.375 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.00132/0.00132, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.361/1.361, allocations: 223.3 MB / 242.3 MB, free: 204 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.2009/0.2009, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003007, allocations: 8.625 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.001889/0.1213, allocations: 1.348 MB / 473.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008104/0.1221, allocations: 447.2 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.1222, allocations: 0 / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.1227, allocations: 443.2 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.123, allocations: 251.5 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.1234, allocations: 158.9 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.1236, allocations: 163.7 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.1237, allocations: 23.98 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1238, allocations: 107.7 kB / 475.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.124, allocations: 195.6 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1241, allocations: 4 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.1242, allocations: 47.92 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.802e-05/0.1243, allocations: 91.61 kB / 475.6 MB, free: 10 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.324e-05/0.1244, allocations: 124.7 kB / 475.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.1246, allocations: 263.2 kB / 476 MB, free: 9.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1246, allocations: 0 / 476 MB, free: 9.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1246, allocations: 3.938 kB / 476 MB, free: 9.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1247, allocations: 0 / 476 MB, free: 9.613 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006082/0.1253, allocations: 0.5951 MB / 476.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1253, allocations: 8.031 kB / 476.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.1254, allocations: 38.69 kB / 476.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.1254, allocations: 44.38 kB / 476.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1257, allocations: 304.1 kB / 477 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1257, allocations: 4.375 kB / 477 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.1257, allocations: 384 / 477 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1259, allocations: 69.61 kB / 477 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1259, allocations: 0 / 477 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1259, allocations: 4 kB / 477 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1259, allocations: 7.938 kB / 477 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.126, allocations: 39.97 kB / 477.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.1265, allocations: 412.6 kB / 477.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1266, allocations: 50.59 kB / 477.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.107e-05/0.1267, allocations: 20.94 kB / 477.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1267, allocations: 0 / 477.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1267, allocations: 34.56 kB / 477.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.1267, allocations: 0 / 477.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009257/0.1277, allocations: 356.2 kB / 477.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1277, allocations: 55.34 kB / 478 MB, free: 7.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007461/0.1285, allocations: 0.8652 MB / 478.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1285, allocations: 29.7 kB / 478.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.1286, allocations: 224.1 kB / 479.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.1287, allocations: 35.55 kB / 479.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.1287, allocations: 17.66 kB / 479.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1288, allocations: 362.8 kB / 479.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/0.1289, allocations: 31.98 kB / 479.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.129, allocations: 35.97 kB / 479.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.1292, allocations: 80.83 kB / 479.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1292, allocations: 0 / 479.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002396/0.1294, allocations: 153.1 kB / 479.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1295, allocations: 8 kB / 479.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1295, allocations: 3.984 kB / 479.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1295, allocations: 3.984 kB / 479.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.1296, allocations: 27.81 kB / 479.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1296, allocations: 0 / 479.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.981e-05/0.1297, allocations: 11.98 kB / 479.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1297, allocations: 0 / 479.9 MB, free: 5.492 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 (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.0001732/0.1299, allocations: 221.8 kB / 480.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.1299, allocations: 43.38 kB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.1303, allocations: 185.8 kB / 480.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1303, allocations: 3.938 kB / 480.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1303, allocations: 3.938 kB / 480.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1303, allocations: 4 kB / 480.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.1309, allocations: 0.5266 MB / 480.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1309, allocations: 0 / 480.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.131, allocations: 24.02 kB / 480.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.131, allocations: 0 / 480.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-06/0.131, allocations: 4 kB / 480.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.131, allocations: 0 / 480.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.131, allocations: 0 / 480.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1313, allocations: 263.7 kB / 481.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.1314, allocations: 116.5 kB / 481.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.1314, allocations: 4 kB / 481.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.1315, allocations: 7.984 kB / 481.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.1315, allocations: 7.984 kB / 481.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.1315, allocations: 4 kB / 481.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005377/0.1321, allocations: 0.655 MB / 481.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1321, allocations: 0 / 481.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1324, allocations: 35.98 kB / 482 MB, free: 3.285 MB / 350.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.001389/0.1337, allocations: 1.132 MB / 483.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.134, allocations: 87.94 kB / 483.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.134, allocations: 0 / 483.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/0.1341, allocations: 47.91 kB / 483.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1345, allocations: 29.27 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.1378, allocations: 3.487 MB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1382, allocations: 0.8301 MB / 487.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.1382, allocations: 24.72 kB / 487.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.1384, allocations: 119.4 kB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1384, allocations: 0 / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.1543, allocations: 5.788 MB / 493.5 MB, free: 7.879 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.1546, allocations: 241.3 kB / 493.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/1.955, allocations: 0 / 493.7 MB, free: 7.621 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches