Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.4 MB, free: 9.137 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 72.86 kB / 417.1 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1143, allocations: 62.45 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003018/0.1173, allocations: 1.736 MB / 481.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1184, allocations: 0.565 MB / 481.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.1185, allocations: 0 / 481.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.1188, allocations: 83.77 kB / 482 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.1192, allocations: 91.78 kB / 482.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000588/0.1198, allocations: 159.2 kB / 482.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.1201, allocations: 99.73 kB / 482.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1203, allocations: 20.22 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1204, allocations: 43.78 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1206, allocations: 55.81 kB / 482.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.1206, allocations: 4 kB / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.1207, allocations: 55.97 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.1208, allocations: 23.92 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.1209, allocations: 43.67 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.1212, allocations: 127.8 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1212, allocations: 0 / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1212, allocations: 0 / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1212, allocations: 0 / 482.7 MB, free: 2.371 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.0005804/0.1218, allocations: 430.8 kB / 483.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1218, allocations: 12.03 kB / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.1219, allocations: 34.75 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.1219, allocations: 12.75 kB / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.1221, allocations: 208.6 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1222, allocations: 4.375 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.1222, allocations: 8.375 kB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1224, allocations: 69.55 kB / 483.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1224, allocations: 3.906 kB / 483.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1224, allocations: 0 / 483.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1224, allocations: 0 / 483.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1226, allocations: 47.95 kB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.123, allocations: 328.9 kB / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.1233, allocations: 66.48 kB / 483.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.1234, allocations: 28.97 kB / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1234, allocations: 0 / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1234, allocations: 34.56 kB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1235, allocations: 3.938 kB / 484 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001533/0.125, allocations: 440.5 kB / 484.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.125, allocations: 55.41 kB / 484.4 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1252, allocations: 222.7 kB / 484.7 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1253, allocations: 29.7 kB / 484.7 MB, free: 172 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.1253, allocations: 108.1 kB / 484.8 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.47e-05/0.1254, allocations: 39.45 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.1254, allocations: 21.72 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1255, allocations: 330.8 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1257, allocations: 55.95 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.1258, allocations: 56 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.1261, allocations: 128.7 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1261, allocations: 0 / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003305/0.1264, allocations: 173.4 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1265, allocations: 4 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1265, allocations: 0.5625 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1265, allocations: 3.938 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1266, allocations: 23.98 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1266, allocations: 4 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.104e-05/0.1267, allocations: 11.97 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1267, allocations: 16 kB / 485.6 MB, free: 15.18 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 (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 9.456e-05/0.1268, allocations: 129.8 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.1269, allocations: 15.81 kB / 485.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.1273, allocations: 190.9 kB / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1273, allocations: 3.938 kB / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1273, allocations: 4 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.1273, allocations: 4 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006691/0.128, allocations: 0.5039 MB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.128, allocations: 0 / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1281, allocations: 28.05 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1281, allocations: 4 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1281, allocations: 3.984 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1281, allocations: 0 / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1282, allocations: 4 kB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.1285, allocations: 280.8 kB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.1286, allocations: 93.02 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1286, allocations: 3.938 kB / 486.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1287, allocations: 15.98 kB / 486.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.1288, allocations: 7.984 kB / 486.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.1288, allocations: 4 kB / 486.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1289, allocations: 172.3 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1289, allocations: 4 kB / 487.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1292, allocations: 24 kB / 487.1 MB, free: 13.59 MB / 366.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.001487/0.1307, allocations: 1.153 MB / 488.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.1311, allocations: 135.8 kB / 488.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1311, allocations: 7.875 kB / 488.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1312, allocations: 71.89 kB / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1316, allocations: 21.48 kB / 488.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.1338, allocations: 2.001 MB / 490.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.1341, allocations: 0.7197 MB / 491.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.1342, allocations: 36.52 kB / 491.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.1343, allocations: 47.41 kB / 491.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1343, allocations: 0 / 491.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.335/0.4693, allocations: 3.413 MB / 494.7 MB, free: 6.105 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003746/0.4697, allocations: 243 kB / 495 MB, free: 5.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.463, allocations: 4 kB / 495 MB, free: 5.84 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches