Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007172/0.0007173, allocations: 91.34 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008514/0.0008514, allocations: 198.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.18 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002849, allocations: 11.98 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1211, allocations: 63.55 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002083/0.1232, allocations: 1.369 MB / 484.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1242, allocations: 0.5418 MB / 485.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.1243, allocations: 0 / 485.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.1246, allocations: 87.81 kB / 485.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.1249, allocations: 95.7 kB / 485.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.1252, allocations: 115.5 kB / 485.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1254, allocations: 91.75 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1255, allocations: 28.27 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.654e-05/0.1256, allocations: 35.84 kB / 485.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1257, allocations: 55.81 kB / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1257, allocations: 4 kB / 485.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1258, allocations: 47.98 kB / 485.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.1259, allocations: 19.92 kB / 485.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.1259, allocations: 73.3 kB / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1261, allocations: 131.5 kB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1261, allocations: 0 / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1262, allocations: 0 / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1262, allocations: 0 / 485.9 MB, free: 1.348 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004605/0.1266, allocations: 407.1 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1267, allocations: 16.88 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.1267, allocations: 34.75 kB / 486.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.1268, allocations: 16.75 kB / 486.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.127, allocations: 208.5 kB / 486.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.127, allocations: 8.375 kB / 486.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.127, allocations: 8.312 kB / 486.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1272, allocations: 77.59 kB / 486.6 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1272, allocations: 4 kB / 486.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1272, allocations: 0 / 486.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1272, allocations: 8 kB / 486.6 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.1274, allocations: 47.95 kB / 486.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.1278, allocations: 344.6 kB / 487 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.128, allocations: 70.55 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.128, allocations: 32.83 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1281, allocations: 4 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1281, allocations: 30.56 kB / 487.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1281, allocations: 3.938 kB / 487.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001114/0.1292, allocations: 377 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1293, allocations: 55.41 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1295, allocations: 235.5 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1295, allocations: 29.7 kB / 487.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.1296, allocations: 116 kB / 487.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.1297, allocations: 47.38 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.1297, allocations: 17.7 kB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1298, allocations: 330.8 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1299, allocations: 47.97 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.66e-05/0.13, allocations: 47.97 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1303, allocations: 119.9 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1303, allocations: 0 / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002979/0.1306, allocations: 169.5 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1306, allocations: 4 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1306, allocations: 7.922 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1306, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1308, allocations: 27.98 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1308, allocations: 0 / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.1308, allocations: 8 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1309, allocations: 8 kB / 488.8 MB, free: 14.2 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 (13): * Single equations (assignments): 13 * 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.0001186/0.131, allocations: 145.8 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.131, allocations: 15.81 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.1314, allocations: 187.8 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1314, allocations: 4 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1315, allocations: 4 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1315, allocations: 0 / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000668/0.1321, allocations: 0.5068 MB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1322, allocations: 0 / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-05/0.1323, allocations: 27.98 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1323, allocations: 0 / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.1323, allocations: 11.94 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-05/0.1323, allocations: 3.984 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1323, allocations: 3.984 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.1327, allocations: 272.1 kB / 489.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.1327, allocations: 92.91 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1328, allocations: 0 / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.1328, allocations: 12 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.1329, allocations: 7.984 kB / 490 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.1329, allocations: 8 kB / 490 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.1331, allocations: 181.2 kB / 490.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.924e-06/0.1331, allocations: 0 / 490.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1334, allocations: 31.94 kB / 490.3 MB, free: 12.6 MB / 366.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 (13): * Single equations (assignments): 13 * 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.001514/0.1349, allocations: 1.138 MB / 491.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.1352, allocations: 119.9 kB / 491.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1352, allocations: 4 kB / 491.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.1353, allocations: 75.91 kB / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1356, allocations: 18.73 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.1378, allocations: 1.978 MB / 493.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1381, allocations: 0.7235 MB / 494.3 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.739e-05/0.1382, allocations: 32.52 kB / 494.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/0.1383, allocations: 51.36 kB / 494.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1383, allocations: 0 / 494.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.1514, allocations: 3.142 MB / 497.5 MB, free: 5.461 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.1516, allocations: 229.8 kB / 497.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/1.889, allocations: 4 kB / 497.8 MB, free: 5.203 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches