Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 109.2 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.00131/0.00131, 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.463/1.463, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2548/0.2548, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 70.52 kB / 416.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1323, allocations: 62.45 MB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.004224/0.1366, allocations: 1.673 MB / 481.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1385, allocations: 1.144 MB / 482.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.1386, allocations: 4 kB / 482.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.1389, allocations: 23.86 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.1392, allocations: 63.81 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1395, allocations: 103.4 kB / 482.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1397, allocations: 71.78 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1398, allocations: 31.92 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.688e-05/0.1399, allocations: 31.84 kB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.14, allocations: 39.77 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1401, allocations: 4 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.1403, allocations: 91.94 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.1403, allocations: 12 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.1404, allocations: 31.73 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.1406, allocations: 151.9 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1407, allocations: 0 / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1407, allocations: 0 / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1407, allocations: 4 kB / 482.9 MB, free: 2.16 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.0005603/0.1413, allocations: 407.1 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.1413, allocations: 12.86 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.1414, allocations: 34.75 kB / 483.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.1414, allocations: 16.84 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1416, allocations: 196.1 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1417, allocations: 4.375 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.1417, allocations: 4.375 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1419, allocations: 79.31 kB / 483.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1419, allocations: 4 kB / 483.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.1419, allocations: 4 kB / 483.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1419, allocations: 0 / 483.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1421, allocations: 39.91 kB / 483.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.1425, allocations: 316.7 kB / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1427, allocations: 54.58 kB / 484 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.1428, allocations: 24.97 kB / 484 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.1428, allocations: 4 kB / 484 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1428, allocations: 30.56 kB / 484.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1428, allocations: 0 / 484.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006986/0.1435, allocations: 193.2 kB / 484.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.1436, allocations: 81.11 kB / 484.3 MB, free: 496 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1438, allocations: 160 kB / 484.5 MB, free: 328 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1438, allocations: 25.7 kB / 484.5 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.1439, allocations: 100.1 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.1439, allocations: 35.53 kB / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.144, allocations: 25.59 kB / 484.7 MB, free: 124 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1442, allocations: 322.8 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.953e-05/0.1443, allocations: 23.98 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-05/0.1444, allocations: 49.69 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.1446, allocations: 76.75 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1446, allocations: 0 / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002301/0.1448, allocations: 101.6 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1448, allocations: 8 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.1448, allocations: 0 / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1449, allocations: 0 / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.145, allocations: 20.02 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.145, allocations: 7.938 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.1451, allocations: 8 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1451, allocations: 3.984 kB / 485.3 MB, free: 15.49 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 (8): * Single equations (assignments): 8 * 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.0001032/0.1452, allocations: 121.8 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.1452, allocations: 11.91 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.1455, allocations: 134.6 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1456, allocations: 0 / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1456, allocations: 3.938 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1456, allocations: 0 / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.1461, allocations: 406.8 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1461, allocations: 0 / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.585e-05/0.1462, allocations: 23.92 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1462, allocations: 8 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1462, allocations: 0 / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1462, allocations: 0 / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1463, allocations: 0 / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.1465, allocations: 211.2 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.1466, allocations: 85.05 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1466, allocations: 0 / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.1467, allocations: 12 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.1468, allocations: 7.984 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1468, allocations: 0 / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1469, allocations: 125.7 kB / 486.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.865e-06/0.1469, allocations: 0 / 486.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.1472, allocations: 47.92 kB / 486.4 MB, free: 14.21 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 (8): * Single equations (assignments): 8 * 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.001629/0.1489, allocations: 1.128 MB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1491, allocations: 71.95 kB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1491, allocations: 0 / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1492, allocations: 43.91 kB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.1496, allocations: 15.94 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.1515, allocations: 1.564 MB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1518, allocations: 0.701 MB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.291e-05/0.1519, allocations: 24.72 kB / 490 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.152, allocations: 31.42 kB / 490 MB, free: 10.67 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.152, allocations: 288 / 490 MB, free: 10.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.1691, allocations: 3.209 MB / 493.2 MB, free: 7.547 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.1694, allocations: 247.5 kB / 493.5 MB, free: 7.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.189, allocations: 0 / 493.5 MB, free: 7.285 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches