Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001257, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 202.4 kB / 18.57 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.00238, allocations: 80.64 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1152, allocations: 62.44 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002875/0.1182, allocations: 1.665 MB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1199, allocations: 1.183 MB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.12, allocations: 0 / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.1202, allocations: 19.86 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.1205, allocations: 87.61 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.1209, allocations: 130.9 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.121, allocations: 75.78 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1212, allocations: 15.98 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.697e-05/0.1212, allocations: 31.91 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1214, allocations: 43.72 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1214, allocations: 7.938 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1216, allocations: 91.94 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.1217, allocations: 19.97 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.1217, allocations: 31.81 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.122, allocations: 155.8 kB / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.122, allocations: 0 / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.122, allocations: 0 / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.122, allocations: 0 / 483.7 MB, free: 1.656 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.0005523/0.1226, allocations: 411.2 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1226, allocations: 8.031 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.1226, allocations: 50.67 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.1227, allocations: 8.844 kB / 484.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.1229, allocations: 196.1 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1229, allocations: 8.375 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1229, allocations: 384 / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1231, allocations: 83.25 kB / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1231, allocations: 0 / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.1232, allocations: 0 / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1232, allocations: 0 / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1233, allocations: 39.97 kB / 484.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.1237, allocations: 292.8 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1238, allocations: 50.55 kB / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.665e-05/0.1239, allocations: 20.94 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1239, allocations: 4 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1239, allocations: 34.56 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1239, allocations: 0 / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007741/0.1247, allocations: 213.1 kB / 485.1 MB, free: 84 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.1248, allocations: 77.19 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.125, allocations: 160.9 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.125, allocations: 25.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.125, allocations: 104.1 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.1251, allocations: 15.66 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1251, allocations: 25.7 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.1252, allocations: 314.8 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1253, allocations: 39.97 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1254, allocations: 45.62 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.1257, allocations: 76.8 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1257, allocations: 4.031 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002677/0.126, allocations: 109.5 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.126, allocations: 6.188 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.126, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.126, allocations: 288 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1261, allocations: 19.98 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.1261, allocations: 3.938 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.1262, allocations: 27.86 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.1263, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.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 7.967e-05/0.1263, allocations: 117.8 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.1264, allocations: 11.89 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.1267, allocations: 134.6 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1267, allocations: 0 / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1267, allocations: 4 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1267, allocations: 3.938 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.1273, allocations: 402.3 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1273, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-05/0.1274, allocations: 23.97 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1274, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1274, allocations: 7.938 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1274, allocations: 4 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1274, allocations: 0 / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.1278, allocations: 207.3 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.1278, allocations: 89 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1279, allocations: 11.94 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.977e-05/0.128, allocations: 11.98 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.128, allocations: 0 / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.128, allocations: 7.984 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.443e-05/0.1281, allocations: 111.3 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1281, allocations: 0 / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.1284, allocations: 43.98 kB / 487.3 MB, free: 13.71 MB / 366.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.001509/0.1299, allocations: 1.125 MB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.1302, allocations: 83.94 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1302, allocations: 0 / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.1304, allocations: 43.91 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1307, allocations: 19.98 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1326, allocations: 1.582 MB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1328, allocations: 0.6924 MB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.224e-05/0.1329, allocations: 20.95 kB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.133, allocations: 31.42 kB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.133, allocations: 0 / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.1552, allocations: 3.418 MB / 494.3 MB, free: 6.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.479/8.634, allocations: 9.125 kB / 494.3 MB, free: 6.777 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches