Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.4 MB, free: 10.8 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.11 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 75.81 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1357, allocations: 62.45 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.00328/0.1391, allocations: 1.673 MB / 481.3 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.1401, allocations: 0.53 MB / 481.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.1402, allocations: 7.938 kB / 481.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.1405, allocations: 67.84 kB / 481.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.1409, allocations: 95.7 kB / 482 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.1413, allocations: 99.2 kB / 482.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1415, allocations: 91.8 kB / 482.2 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1416, allocations: 12 kB / 482.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.1417, allocations: 39.84 kB / 482.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1418, allocations: 55.81 kB / 482.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1418, allocations: 4 kB / 482.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1419, allocations: 47.97 kB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.142, allocations: 23.92 kB / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.1421, allocations: 31.75 kB / 482.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1423, allocations: 107.9 kB / 482.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1423, allocations: 0 / 482.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1423, allocations: 3.938 kB / 482.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1423, allocations: 0 / 482.5 MB, free: 2.633 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.0005056/0.1428, allocations: 411 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1429, allocations: 12.03 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.1429, allocations: 38.73 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.143, allocations: 12.84 kB / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1431, allocations: 198.7 kB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1432, allocations: 8.359 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1432, allocations: 384 / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1433, allocations: 61.56 kB / 483.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1434, allocations: 3.906 kB / 483.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1434, allocations: 0 / 483.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1434, allocations: 0 / 483.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.859e-05/0.1435, allocations: 27.97 kB / 483.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.1439, allocations: 308.8 kB / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.144, allocations: 42.5 kB / 483.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.1441, allocations: 24.94 kB / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1441, allocations: 4 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1442, allocations: 34.56 kB / 483.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.1442, allocations: 0 / 483.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009491/0.1451, allocations: 245 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1452, allocations: 59.34 kB / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.1454, allocations: 218.8 kB / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1454, allocations: 29.7 kB / 484.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.1455, allocations: 100.1 kB / 484.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.1455, allocations: 27.61 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.1455, allocations: 17.72 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1456, allocations: 326.8 kB / 484.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.1457, allocations: 35.84 kB / 484.7 MB, free: 212 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.1458, allocations: 39.98 kB / 484.7 MB, free: 172 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.146, allocations: 72.81 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.146, allocations: 0 / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002377/0.1462, allocations: 113.6 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1463, allocations: 4 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1463, allocations: 0 / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1463, allocations: 0 / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.1464, allocations: 27.92 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1464, allocations: 3.938 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1465, allocations: 7.984 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1465, allocations: 0 / 484.9 MB, free: 15.93 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 9.408e-05/0.1466, allocations: 129.8 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.1466, allocations: 15.81 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.1469, allocations: 127 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1469, allocations: 4 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1469, allocations: 3.938 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.147, allocations: 3.984 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.1475, allocations: 419.6 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1475, allocations: 3.938 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.386e-05/0.1476, allocations: 27.95 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1476, allocations: 0 / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1476, allocations: 0 / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1476, allocations: 80 / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1476, allocations: 7.984 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.1479, allocations: 212.2 kB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.1479, allocations: 92.95 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.148, allocations: 3.984 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.148, allocations: 15.88 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1481, allocations: 7.984 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1481, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1482, allocations: 164.7 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1482, allocations: 0 / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1485, allocations: 20 kB / 486.2 MB, free: 14.59 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 (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.001456/0.15, allocations: 1.097 MB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.1502, allocations: 79.89 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1502, allocations: 0 / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.648e-05/0.1503, allocations: 43.91 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1507, allocations: 12 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1525, allocations: 1.728 MB / 489.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1528, allocations: 0.708 MB / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.216e-05/0.1529, allocations: 20.95 kB / 489.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.153, allocations: 39.42 kB / 489.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.153, allocations: 0 / 489.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.1729, allocations: 2.987 MB / 492.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/0.1733, allocations: 239.2 kB / 493.1 MB, free: 7.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.097, allocations: 4 kB / 493.1 MB, free: 7.73 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches