Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001818/0.001817, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003081/0.003081, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.12 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001618, allocations: 72.84 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1287, allocations: 62.44 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003626/0.1323, allocations: 1.716 MB / 481.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1335, allocations: 0.5768 MB / 481.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.1337, allocations: 0 / 481.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006/0.1343, allocations: 455.2 kB / 482.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004316/0.1347, allocations: 275.5 kB / 482.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.1352, allocations: 159.6 kB / 482.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.1355, allocations: 171.6 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1356, allocations: 23.97 kB / 482.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.1358, allocations: 107.7 kB / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.1361, allocations: 199.6 kB / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.1361, allocations: 4 kB / 483 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1362, allocations: 39.91 kB / 483.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1363, allocations: 83.69 kB / 483.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1365, allocations: 103 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.1368, allocations: 259.2 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1368, allocations: 0 / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1368, allocations: 0 / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.1368, allocations: 0 / 483.5 MB, free: 1.461 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008049/0.1377, allocations: 0.6415 MB / 484.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1377, allocations: 12.88 kB / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.1378, allocations: 34.73 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.678e-05/0.1378, allocations: 44.38 kB / 484.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1381, allocations: 304.1 kB / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.1382, allocations: 4.375 kB / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.1382, allocations: 8.375 kB / 484.6 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1384, allocations: 57.61 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1384, allocations: 0 / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1384, allocations: 0 / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1384, allocations: 4 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1385, allocations: 27.97 kB / 484.6 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.1391, allocations: 408.5 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.1394, allocations: 42.56 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.1395, allocations: 20.94 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1395, allocations: 0 / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1395, allocations: 34.5 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.1395, allocations: 4 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007306/0.1403, allocations: 240 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1403, allocations: 59.34 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008645/0.1412, allocations: 0.8815 MB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1412, allocations: 29.64 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1414, allocations: 220.1 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.1414, allocations: 23.75 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.1415, allocations: 25.64 kB / 486.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1416, allocations: 354.8 kB / 487 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.1417, allocations: 19.98 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.1418, allocations: 27.97 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.1419, allocations: 48.83 kB / 487 MB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1419, allocations: 4 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002321/0.1422, allocations: 125.1 kB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1422, allocations: 4 kB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1422, allocations: 3.938 kB / 487.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1422, allocations: 0 / 487.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.1423, allocations: 12 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1423, allocations: 3.984 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/0.1424, allocations: 11.94 kB / 487.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1424, allocations: 4 kB / 487.2 MB, free: 13.52 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 (5): * Single equations (assignments): 5 * 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.0001844/0.1426, allocations: 209.8 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.1427, allocations: 47.72 kB / 487.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.143, allocations: 141.2 kB / 487.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.143, allocations: 3.984 kB / 487.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.143, allocations: 3.938 kB / 487.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.143, allocations: 3.938 kB / 487.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.1436, allocations: 470.8 kB / 488.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1436, allocations: 64 / 488.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.1436, allocations: 15.98 kB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1437, allocations: 4 kB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1437, allocations: 3.938 kB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1437, allocations: 3.984 kB / 488.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1437, allocations: 0 / 488.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.144, allocations: 226.9 kB / 488.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.1441, allocations: 112.5 kB / 488.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.1441, allocations: 7.938 kB / 488.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.1442, allocations: 0 / 488.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1442, allocations: 7.984 kB / 488.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.1442, allocations: 7.938 kB / 488.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000625/0.1449, allocations: 0.6667 MB / 489.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1449, allocations: 0 / 489.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1452, allocations: 20 kB / 489.1 MB, free: 11.49 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 (5): * Single equations (assignments): 5 * 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.001402/0.1466, allocations: 1.051 MB / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.1468, allocations: 51.97 kB / 490.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1468, allocations: 0 / 490.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/0.1469, allocations: 35.91 kB / 490.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1473, allocations: 18.31 kB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.1512, allocations: 3.38 MB / 493.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.1517, allocations: 0.8262 MB / 494.5 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.873e-05/0.1518, allocations: 16.66 kB / 494.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.1519, allocations: 111.4 kB / 494.6 MB, free: 5.988 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1519, allocations: 4 kB / 494.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.171, allocations: 5.822 MB / 0.4887 GB, free: 252 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/0.1713, allocations: 230.5 kB / 0.4889 GB, free: 15.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.173, allocations: 0 / 0.4889 GB, free: 15.99 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches