Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",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.000749/0.0007489, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.0009148/0.0009147, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.343/1.343, allocations: 223.3 MB / 242.3 MB, free: 248 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.2052/0.2052, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003085, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.001945/0.1185, allocations: 1.36 MB / 473.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008289/0.1194, allocations: 439.2 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.1195, allocations: 3.938 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1198, allocations: 71.83 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1199, allocations: 43.89 kB / 474.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.1204, allocations: 171.2 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1206, allocations: 83.75 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.1207, allocations: 12 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.1207, allocations: 39.89 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.892e-05/0.1208, allocations: 51.7 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1209, allocations: 0 / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.121, allocations: 47.97 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.369e-05/0.121, allocations: 23.92 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.1211, allocations: 57.44 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1213, allocations: 111.9 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1213, allocations: 0 / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1213, allocations: 0 / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1213, allocations: 0 / 474.8 MB, free: 10.75 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.0004818/0.1218, allocations: 419 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1219, allocations: 15.97 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.1219, allocations: 34.75 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.1219, allocations: 8.844 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.1221, allocations: 208.7 kB / 475.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.1221, allocations: 384 / 475.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.1222, allocations: 8.375 kB / 475.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1224, allocations: 73.59 kB / 475.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1224, allocations: 7.906 kB / 475.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1224, allocations: 0 / 475.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1224, allocations: 0 / 475.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.1226, allocations: 51.91 kB / 475.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.123, allocations: 328.8 kB / 476 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.1232, allocations: 70.58 kB / 476 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.839e-05/0.1233, allocations: 28.97 kB / 476.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1233, allocations: 0 / 476.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1234, allocations: 42.56 kB / 476.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.1234, allocations: 0 / 476.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00152/0.1249, allocations: 0.4889 MB / 476.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.125, allocations: 51.41 kB / 476.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1251, allocations: 220 kB / 476.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1252, allocations: 29.7 kB / 476.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.1252, allocations: 116 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1253, allocations: 39.39 kB / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.1253, allocations: 21.7 kB / 477.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1254, allocations: 322.8 kB / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.1256, allocations: 59.97 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1257, allocations: 63.95 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.126, allocations: 140.8 kB / 477.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.126, allocations: 0 / 477.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003333/0.1263, allocations: 185.5 kB / 477.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1263, allocations: 4 kB / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1264, allocations: 0 / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1264, allocations: 3.938 kB / 477.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1265, allocations: 35.92 kB / 477.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1265, allocations: 8 kB / 477.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.1266, allocations: 11.98 kB / 477.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1266, allocations: 7.938 kB / 477.9 MB, free: 7.457 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 (11): * Single equations (assignments): 11 * 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.404e-05/0.1267, allocations: 129.8 kB / 478 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.1267, allocations: 11.81 kB / 478 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.1271, allocations: 211.3 kB / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1271, allocations: 7.938 kB / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1271, allocations: 3.984 kB / 478.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1271, allocations: 0 / 478.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000639/0.1278, allocations: 0.5161 MB / 478.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1278, allocations: 0 / 478.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.1279, allocations: 31.97 kB / 478.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1279, allocations: 4 kB / 478.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1279, allocations: 11.98 kB / 478.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1279, allocations: 4 kB / 478.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1279, allocations: 0 / 478.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.1283, allocations: 293 kB / 479.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.1284, allocations: 96.91 kB / 479.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1284, allocations: 0 / 479.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1285, allocations: 19.98 kB / 479.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.1285, allocations: 7.984 kB / 479.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.1286, allocations: 4 kB / 479.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1287, allocations: 163.5 kB / 479.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1287, allocations: 0 / 479.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.129, allocations: 35.98 kB / 479.4 MB, free: 5.812 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001494/0.1305, allocations: 1.166 MB / 480.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.1308, allocations: 147.8 kB / 480.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1308, allocations: 0 / 480.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.131, allocations: 79.89 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1314, allocations: 28.09 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.1335, allocations: 2.001 MB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1338, allocations: 0.7317 MB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.562e-05/0.1338, allocations: 24.53 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.1339, allocations: 47.42 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1339, allocations: 0 / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.148, allocations: 3.065 MB / 486.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/0.1483, allocations: 232.7 kB / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.856, allocations: 0 / 486.9 MB, free: 14.43 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches