Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 109.1 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001221, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.1 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 79.03 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1456, allocations: 62.44 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.00433/0.1499, allocations: 1.669 MB / 481.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1511, allocations: 0.5378 MB / 481.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.1512, allocations: 0 / 481.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.1516, allocations: 83.75 kB / 481.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.152, allocations: 83.8 kB / 482 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.1524, allocations: 107.1 kB / 482.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1526, allocations: 83.81 kB / 482.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1527, allocations: 15.98 kB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.855e-05/0.1528, allocations: 35.84 kB / 482.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.153, allocations: 51.83 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.153, allocations: 11.98 kB / 482.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1532, allocations: 51.92 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.1532, allocations: 19.92 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.1533, allocations: 31.73 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.1536, allocations: 104 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1536, allocations: 3.938 kB / 482.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1536, allocations: 0 / 482.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1536, allocations: 0 / 482.5 MB, free: 2.594 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.0006541/0.1543, allocations: 414.9 kB / 482.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.1544, allocations: 12.03 kB / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.1544, allocations: 38.75 kB / 482.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.1545, allocations: 8.844 kB / 482.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1548, allocations: 206.6 kB / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1548, allocations: 384 / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.1548, allocations: 4.375 kB / 483.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.155, allocations: 61.59 kB / 483.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.155, allocations: 3.906 kB / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1551, allocations: 0 / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1551, allocations: 4 kB / 483.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1552, allocations: 31.97 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.1557, allocations: 308.7 kB / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1559, allocations: 46.55 kB / 483.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.1559, allocations: 12.86 kB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.156, allocations: 7.984 kB / 483.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.156, allocations: 38.64 kB / 483.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.156, allocations: 0 / 483.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001058/0.1571, allocations: 244.9 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1572, allocations: 51.41 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1574, allocations: 214.8 kB / 484.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1574, allocations: 25.7 kB / 484.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.392e-05/0.1575, allocations: 116 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.1575, allocations: 19.61 kB / 484.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.1576, allocations: 25.72 kB / 484.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1577, allocations: 322.8 kB / 484.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.1578, allocations: 31.98 kB / 484.7 MB, free: 168 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.1579, allocations: 31.97 kB / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.1581, allocations: 84.88 kB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1581, allocations: 0 / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002412/0.1583, allocations: 109.5 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1584, allocations: 8 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1584, allocations: 4 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1584, allocations: 0 / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.989e-05/0.1585, allocations: 15.98 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1585, allocations: 7.938 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.1586, allocations: 0 / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1586, allocations: 4 kB / 484.9 MB, free: 15.89 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.0001183/0.1587, allocations: 129.8 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.1588, allocations: 11.81 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.1591, allocations: 143.2 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1591, allocations: 0 / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.1591, allocations: 3.938 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1591, allocations: 0 / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.1596, allocations: 427.3 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1596, allocations: 0 / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.1597, allocations: 19.92 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1597, allocations: 0 / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1598, allocations: 4 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1598, allocations: 0 / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1598, allocations: 0 / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.16, allocations: 224.1 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.1601, allocations: 88.95 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1601, allocations: 3.938 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.1602, allocations: 11.98 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.1603, allocations: 4 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.1603, allocations: 4 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1604, allocations: 168.7 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1604, allocations: 0 / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1607, allocations: 19.98 kB / 486.2 MB, free: 14.55 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.001574/0.1623, allocations: 1.093 MB / 487.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.1626, allocations: 83.88 kB / 487.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1626, allocations: 4 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.705e-05/0.1627, allocations: 40.05 kB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.163, allocations: 11.98 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.165, allocations: 1.738 MB / 489.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1653, allocations: 0.708 MB / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.897e-05/0.1654, allocations: 20.64 kB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.1655, allocations: 39.42 kB / 489.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1655, allocations: 0 / 489.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.068/1.234, allocations: 2.97 MB / 492.9 MB, free: 7.957 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/1.234, allocations: 239.9 kB / 493.1 MB, free: 7.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.822, allocations: 0 / 493.1 MB, free: 7.695 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches