Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 107.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001792/0.001792, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.4 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.2157/0.2157, allocations: 46.09 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 79.2 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1441, allocations: 62.44 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003774/0.148, allocations: 1.653 MB / 481.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1491, allocations: 0.53 MB / 481.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.256e-05/0.1492, allocations: 7.938 kB / 481.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1495, allocations: 27.92 kB / 481.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.1499, allocations: 71.75 kB / 481.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.1503, allocations: 102.9 kB / 482 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1504, allocations: 59.89 kB / 482 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1506, allocations: 15.98 kB / 482.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.1506, allocations: 31.8 kB / 482.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.115e-05/0.1507, allocations: 23.84 kB / 482.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1507, allocations: 4 kB / 482.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1508, allocations: 28 kB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.1509, allocations: 15.92 kB / 482.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.151, allocations: 23.81 kB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1512, allocations: 84.05 kB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1512, allocations: 4 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1512, allocations: 0 / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1512, allocations: 7.938 kB / 482.3 MB, free: 2.805 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005693/0.1518, allocations: 395 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.1518, allocations: 12.03 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.1519, allocations: 30.75 kB / 482.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.1519, allocations: 8.844 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1522, allocations: 199.7 kB / 482.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1522, allocations: 8.125 kB / 482.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.1522, allocations: 4 kB / 482.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1524, allocations: 53.67 kB / 483 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1524, allocations: 0 / 483 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1524, allocations: 3.938 kB / 483 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1525, allocations: 0 / 483 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1526, allocations: 23.98 kB / 483 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.153, allocations: 284.9 kB / 483.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.1533, allocations: 50.56 kB / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.1534, allocations: 16.88 kB / 483.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1534, allocations: 4 kB / 483.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1534, allocations: 34.56 kB / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1534, allocations: 0 / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006497/0.1541, allocations: 153.2 kB / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.1541, allocations: 55.41 kB / 483.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.1543, allocations: 178.4 kB / 483.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1543, allocations: 25.7 kB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.1544, allocations: 100 kB / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1545, allocations: 23.73 kB / 483.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.1545, allocations: 21.72 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1546, allocations: 322.8 kB / 484.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.41e-05/0.1547, allocations: 19.98 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/0.1548, allocations: 19.98 kB / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1549, allocations: 48.83 kB / 484.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.155, allocations: 0 / 484.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001983/0.1552, allocations: 93.5 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1552, allocations: 6.656 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1552, allocations: 3.938 kB / 484.4 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1552, allocations: 0 / 484.4 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.1553, allocations: 15.98 kB / 484.4 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1553, allocations: 3.938 kB / 484.4 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.1554, allocations: 8.25 kB / 484.5 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1554, allocations: 0 / 484.5 MB, free: 400 kB / 350.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.0001124/0.1555, allocations: 125.8 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.1555, allocations: 7.906 kB / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.1558, allocations: 105.9 kB / 484.7 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1558, allocations: 0 / 484.7 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1558, allocations: 3.938 kB / 484.7 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1558, allocations: 0 / 484.7 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.1563, allocations: 354.6 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1563, allocations: 0 / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.1564, allocations: 19.92 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.1564, allocations: 3.938 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1564, allocations: 4.281 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1564, allocations: 0 / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1564, allocations: 0 / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1567, allocations: 187.3 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.1568, allocations: 89 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.1568, allocations: 3.938 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.1569, allocations: 7.984 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.1569, allocations: 4 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.1569, allocations: 4 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.157, allocations: 130.3 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.157, allocations: 0 / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1573, allocations: 19.98 kB / 485.5 MB, free: 15.24 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.00152/0.1588, allocations: 1.02 MB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1591, allocations: 55.97 kB / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1591, allocations: 0 / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.815e-05/0.1591, allocations: 31.91 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1595, allocations: 12 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.1614, allocations: 1.535 MB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1617, allocations: 0.7001 MB / 488.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.012e-05/0.1617, allocations: 16.3 kB / 488.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.1618, allocations: 27.42 kB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1618, allocations: 0 / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6902/0.852, allocations: 2.509 MB / 491.4 MB, free: 9.438 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.8523, allocations: 242.2 kB / 491.6 MB, free: 9.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.701, allocations: 0 / 491.6 MB, free: 9.176 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches