Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001697/0.001697, allocations: 106.7 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.002047/0.002047, 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.382/1.382, allocations: 227.4 MB / 246.4 MB, free: 9.129 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2373/0.2373, allocations: 46.1 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 71.89 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1165, allocations: 62.45 MB / 479.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003981/0.1205, allocations: 2.094 MB / 481.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1224, allocations: 1.111 MB / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1226, allocations: 0 / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.1231, allocations: 255.3 kB / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.1237, allocations: 235.4 kB / 483.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1253, allocations: 0.617 MB / 483.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.1258, allocations: 343.1 kB / 484.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.126, allocations: 76.97 kB / 484.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.1262, allocations: 143.4 kB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.1265, allocations: 219.2 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.1266, allocations: 12 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1268, allocations: 83.97 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.1269, allocations: 91.67 kB / 484.8 MB, free: 228 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.127, allocations: 142.8 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.1275, allocations: 334.8 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.1275, allocations: 4 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1275, allocations: 7.875 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.1276, allocations: 0 / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009447/0.1285, allocations: 0.6844 MB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1286, allocations: 8.031 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.1286, allocations: 46.75 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.1287, allocations: 44.38 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.1292, allocations: 349.9 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1292, allocations: 8.375 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.1292, allocations: 12.38 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.1295, allocations: 125.6 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.1295, allocations: 7.984 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1295, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1296, allocations: 4 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.1298, allocations: 99.81 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.1306, allocations: 0.5198 MB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1308, allocations: 106.5 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.1309, allocations: 44.84 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.1309, allocations: 7.969 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.131, allocations: 42.44 kB / 487.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.654e-06/0.131, allocations: 0 / 487.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001095/0.1321, allocations: 459.6 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.1321, allocations: 55.41 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006826/0.1328, allocations: 0.5957 MB / 488.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1329, allocations: 29.7 kB / 488.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.133, allocations: 216.3 kB / 488.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/0.1331, allocations: 59.19 kB / 488.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.1332, allocations: 33.7 kB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1333, allocations: 354.8 kB / 489.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1335, allocations: 67.95 kB / 489.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1336, allocations: 69.98 kB / 489.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.1339, allocations: 160.6 kB / 489.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1339, allocations: 0 / 489.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004225/0.1344, allocations: 235.2 kB / 489.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1344, allocations: 4 kB / 489.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1344, allocations: 0 / 489.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1344, allocations: 4 kB / 489.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1346, allocations: 35.97 kB / 489.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1346, allocations: 0 / 489.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.1347, allocations: 15.94 kB / 489.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1347, allocations: 4 kB / 489.8 MB, free: 11.05 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 (17): * Single equations (assignments): 17 * 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.000182/0.1349, allocations: 185.7 kB / 490 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.135, allocations: 43.44 kB / 490 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005415/0.1355, allocations: 285.7 kB / 490.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.1355, allocations: 0 / 490.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1355, allocations: 3.938 kB / 490.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1356, allocations: 3.984 kB / 490.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009244/0.1365, allocations: 0.7037 MB / 491 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1365, allocations: 3.938 kB / 491 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.1366, allocations: 31.98 kB / 491 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1367, allocations: 0 / 491 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.1367, allocations: 7.984 kB / 491 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1367, allocations: 3.938 kB / 491 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1367, allocations: 0 / 491 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.1371, allocations: 342.7 kB / 491.4 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.1372, allocations: 116.6 kB / 491.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.1373, allocations: 4 kB / 491.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1374, allocations: 19.92 kB / 491.5 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.1375, allocations: 11.98 kB / 491.5 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1375, allocations: 4 kB / 491.5 MB, free: 9.191 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004813/0.138, allocations: 450.8 kB / 492 MB, free: 8.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.138, allocations: 0 / 492 MB, free: 8.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.1383, allocations: 59.91 kB / 492 MB, free: 8.695 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.002329/0.1407, allocations: 1.441 MB / 493.5 MB, free: 7.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.1411, allocations: 182.1 kB / 493.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1411, allocations: 0 / 493.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1412, allocations: 91.89 kB / 493.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.1418, allocations: 90.53 kB / 493.8 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.1463, allocations: 3.473 MB / 497.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.1468, allocations: 0.8338 MB / 498.1 MB, free: 2.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.1469, allocations: 62.23 kB / 498.2 MB, free: 2.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.1471, allocations: 135.4 kB / 498.3 MB, free: 2.562 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1471, allocations: 0 / 498.3 MB, free: 2.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03543/0.1826, allocations: 7.611 MB / 0.4941 GB, free: 11.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003174/0.1829, allocations: 244.5 kB / 0.4943 GB, free: 10.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.125/2.308, allocations: 4 kB / 0.4943 GB, free: 10.77 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches