Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.000968/0.0009682, allocations: 94.72 kB / 17.35 MB, free: 6.367 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.001074/0.001074, allocations: 176 kB / 18.25 MB, free: 5.516 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.339/1.339, allocations: 223.3 MB / 242.3 MB, free: 14.45 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.1965/0.1965, allocations: 44.24 MB / 337.7 MB, free: 2.406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 11.98 kB / 410.4 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1102, allocations: 61.93 MB / 472.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.001725/0.112, allocations: 1.349 MB / 473.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007003/0.1127, allocations: 415.3 kB / 474.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.1128, allocations: 0 / 474.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.1132, allocations: 447.2 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.1135, allocations: 239.6 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.1139, allocations: 131.5 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.1141, allocations: 163.7 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.595e-05/0.1142, allocations: 15.98 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1143, allocations: 99.78 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1145, allocations: 203.6 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1145, allocations: 0 / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1146, allocations: 47.98 kB / 475.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.1147, allocations: 83.62 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.191e-05/0.1148, allocations: 128.7 kB / 475.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.1151, allocations: 259.1 kB / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1151, allocations: 0 / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1151, allocations: 0 / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1151, allocations: 0 / 475.9 MB, free: 9.633 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.0005912/0.1157, allocations: 0.599 MB / 476.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1158, allocations: 12.02 kB / 476.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.1158, allocations: 34.75 kB / 476.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.1158, allocations: 44.38 kB / 476.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1161, allocations: 300.1 kB / 476.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.1161, allocations: 384 / 476.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.1161, allocations: 4.375 kB / 476.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1163, allocations: 61.61 kB / 476.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1163, allocations: 0 / 476.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1163, allocations: 8 kB / 476.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1163, allocations: 4 kB / 477 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.434e-05/0.1164, allocations: 31.92 kB / 477 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.1168, allocations: 396.6 kB / 477.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.895e-05/0.117, allocations: 58.58 kB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.117, allocations: 12.86 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.117, allocations: 3.984 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1171, allocations: 38.56 kB / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1171, allocations: 0 / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00087/0.1179, allocations: 328 kB / 477.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.118, allocations: 55.34 kB / 477.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007711/0.1188, allocations: 0.8652 MB / 478.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1188, allocations: 33.64 kB / 478.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.1189, allocations: 224 kB / 479 MB, free: 6.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.119, allocations: 27.59 kB / 479 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.119, allocations: 17.72 kB / 479 MB, free: 6.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1191, allocations: 362.8 kB / 479.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.1192, allocations: 27.98 kB / 479.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.068e-05/0.1193, allocations: 27.98 kB / 479.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1195, allocations: 76.77 kB / 479.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1195, allocations: 0 / 479.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002465/0.1197, allocations: 145.1 kB / 479.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1197, allocations: 4 kB / 479.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1198, allocations: 4 kB / 479.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1198, allocations: 0 / 479.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.1199, allocations: 23.92 kB / 479.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1199, allocations: 4.312 kB / 479.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.12, allocations: 4 kB / 479.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.12, allocations: 4 kB / 479.7 MB, free: 5.602 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.0001763/0.1201, allocations: 217.7 kB / 479.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.1202, allocations: 43.86 kB / 479.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.1205, allocations: 169.4 kB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.1205, allocations: 3.938 kB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1206, allocations: 3.984 kB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1206, allocations: 0 / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.1212, allocations: 0.5147 MB / 480.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1212, allocations: 0 / 480.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.1213, allocations: 23.97 kB / 480.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1213, allocations: 0 / 480.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1213, allocations: 4 kB / 480.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1213, allocations: 3.984 kB / 480.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1213, allocations: 0 / 480.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.1216, allocations: 243.9 kB / 480.9 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.33e-05/0.1217, allocations: 112.5 kB / 481 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1217, allocations: 8 kB / 481 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.1218, allocations: 7.984 kB / 481 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1218, allocations: 4 kB / 481 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1218, allocations: 3.938 kB / 481 MB, free: 4.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006274/0.1225, allocations: 0.6589 MB / 481.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1225, allocations: 4 kB / 481.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1228, allocations: 24 kB / 481.7 MB, free: 3.453 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.001511/0.1243, allocations: 1.136 MB / 482.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.1245, allocations: 79.88 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1245, allocations: 0 / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.1246, allocations: 43.92 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.125, allocations: 25.95 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.1287, allocations: 3.42 MB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.1291, allocations: 0.8262 MB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.031e-05/0.1292, allocations: 12.42 kB / 487.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.1294, allocations: 111.4 kB / 487.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1294, allocations: 0 / 487.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.1457, allocations: 5.709 MB / 493.1 MB, free: 8.246 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/0.146, allocations: 238.2 kB / 493.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/1.983, allocations: 0 / 493.3 MB, free: 7.984 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches