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.001591/0.001591, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001682/0.001683, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.381/1.381, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2151/0.2151, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 64.64 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1175, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002976/0.1205, allocations: 1.63 MB / 471 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.1213, allocations: 451.1 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.585e-05/0.1214, allocations: 0 / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.1219, allocations: 455.1 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.1223, allocations: 251.4 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.1227, allocations: 179.1 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.1229, allocations: 167.7 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.123, allocations: 23.92 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1232, allocations: 107.8 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1234, allocations: 219.5 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.1234, allocations: 4 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1235, allocations: 47.98 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.599e-05/0.1236, allocations: 91.61 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.018e-05/0.1237, allocations: 103 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.124, allocations: 267.2 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.124, allocations: 0 / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.124, allocations: 0 / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.124, allocations: 0 / 473.3 MB, free: 10.3 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.0006659/0.1247, allocations: 0.6492 MB / 474 MB, free: 9.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1248, allocations: 8.031 kB / 474 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.1248, allocations: 42.67 kB / 474 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.1249, allocations: 40.38 kB / 474 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1251, allocations: 296.2 kB / 474.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.1252, allocations: 8.375 kB / 474.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.1252, allocations: 8.266 kB / 474.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1253, allocations: 69.55 kB / 474.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1254, allocations: 4 kB / 474.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1254, allocations: 4 kB / 474.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1254, allocations: 0 / 474.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1255, allocations: 31.97 kB / 474.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.126, allocations: 408.7 kB / 474.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1261, allocations: 50.5 kB / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.1262, allocations: 20.94 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1262, allocations: 4 kB / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.1262, allocations: 30.56 kB / 475 MB, free: 8.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1262, allocations: 0 / 475 MB, free: 8.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009297/0.1272, allocations: 311.9 kB / 475.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.1272, allocations: 59.34 kB / 475.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.128, allocations: 0.873 MB / 476.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.128, allocations: 25.7 kB / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.1282, allocations: 224 kB / 476.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1282, allocations: 31.62 kB / 476.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.1283, allocations: 25.72 kB / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1284, allocations: 366.7 kB / 476.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.1285, allocations: 23.98 kB / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-05/0.1286, allocations: 35.97 kB / 476.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1288, allocations: 68.83 kB / 477 MB, free: 6.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1288, allocations: 0 / 477 MB, free: 6.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002406/0.129, allocations: 149.1 kB / 477.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.129, allocations: 7.984 kB / 477.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.129, allocations: 4 kB / 477.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1291, allocations: 0 / 477.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.736e-05/0.1292, allocations: 23.88 kB / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1292, allocations: 3.984 kB / 477.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.1292, allocations: 4 kB / 477.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.1293, allocations: 7.938 kB / 477.2 MB, free: 6.188 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.0001709/0.1294, allocations: 221.8 kB / 477.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.1295, allocations: 39.44 kB / 477.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.1298, allocations: 181.7 kB / 477.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1298, allocations: 3.938 kB / 477.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1298, allocations: 0 / 477.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1299, allocations: 0 / 477.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.1304, allocations: 0.5187 MB / 478.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1305, allocations: 0 / 478.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.1305, allocations: 19.98 kB / 478.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1305, allocations: 0 / 478.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1306, allocations: 432 / 478.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1306, allocations: 4 kB / 478.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1306, allocations: 0 / 478.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.1309, allocations: 255.7 kB / 478.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.1309, allocations: 112.5 kB / 478.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.131, allocations: 4 kB / 478.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.1311, allocations: 11.97 kB / 478.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.1311, allocations: 8 kB / 478.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.1311, allocations: 7.984 kB / 478.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000539/0.1317, allocations: 0.6511 MB / 479.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1317, allocations: 0 / 479.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.132, allocations: 27.98 kB / 479.2 MB, free: 4.023 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.00145/0.1334, allocations: 1.146 MB / 480.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.1337, allocations: 79.95 kB / 480.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1337, allocations: 0 / 480.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/0.1338, allocations: 47.89 kB / 480.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.1342, allocations: 26.61 kB / 480.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.1378, allocations: 3.394 MB / 483.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.1382, allocations: 0.8298 MB / 484.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.178e-05/0.1383, allocations: 24.41 kB / 484.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.1384, allocations: 119.5 kB / 484.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1384, allocations: 3.938 kB / 484.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.1635, allocations: 6.23 MB / 491.1 MB, free: 8.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/7.96, allocations: 3.938 kB / 491.1 MB, free: 8.238 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