Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001442, allocations: 213.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.423/1.423, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.00164, allocations: 69.7 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1431, allocations: 62.45 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.005563/0.1487, allocations: 1.711 MB / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1503, allocations: 0.5417 MB / 481.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.1505, allocations: 3.938 kB / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005018/0.1511, allocations: 91.8 kB / 481.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005063/0.1516, allocations: 95.7 kB / 481.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.1522, allocations: 91.59 kB / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.1525, allocations: 91.75 kB / 482 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.1528, allocations: 24.27 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1529, allocations: 39.83 kB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.1531, allocations: 59.81 kB / 482.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.1532, allocations: 4 kB / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.1534, allocations: 43.98 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1535, allocations: 27.86 kB / 482.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1536, allocations: 47.66 kB / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.1539, allocations: 123.5 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.154, allocations: 0 / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.154, allocations: 0 / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.154, allocations: 0 / 482.4 MB, free: 2.637 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008858/0.1549, allocations: 427 kB / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.64e-05/0.155, allocations: 8.875 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.062e-05/0.1551, allocations: 42.75 kB / 482.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.1551, allocations: 12.75 kB / 482.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.1555, allocations: 212.5 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1556, allocations: 384 / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.1556, allocations: 12.31 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.1559, allocations: 69.61 kB / 483.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.1559, allocations: 3.938 kB / 483.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1559, allocations: 4 kB / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1559, allocations: 0 / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.1561, allocations: 47.95 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000666/0.1568, allocations: 332.6 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1569, allocations: 58.56 kB / 483.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.001e-05/0.157, allocations: 20.84 kB / 483.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.1571, allocations: 8 kB / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1571, allocations: 30.56 kB / 483.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.1571, allocations: 0 / 483.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001313/0.1584, allocations: 329.3 kB / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.1585, allocations: 51.41 kB / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.1588, allocations: 239.5 kB / 484.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1589, allocations: 25.7 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.159, allocations: 112 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.159, allocations: 39.45 kB / 484.4 MB, free: 392 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.1591, allocations: 25.7 kB / 484.4 MB, free: 360 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1593, allocations: 330.8 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1594, allocations: 39.91 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.754e-05/0.1595, allocations: 35.98 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.1597, allocations: 88.94 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1597, allocations: 3.938 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000286/0.16, allocations: 137.4 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.16, allocations: 8 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.16, allocations: 4 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1601, allocations: 3.938 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1602, allocations: 27.97 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1602, allocations: 0 / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.316e-05/0.1603, allocations: 8 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1603, allocations: 4 kB / 485.1 MB, free: 15.66 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 (13): * Single equations (assignments): 13 * 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.0001294/0.1604, allocations: 141.7 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.1605, allocations: 19.81 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.1609, allocations: 166.5 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1609, allocations: 0 / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1609, allocations: 0 / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1609, allocations: 7.984 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007064/0.1616, allocations: 483 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.1617, allocations: 3.938 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/0.1618, allocations: 27.98 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1618, allocations: 0 / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1618, allocations: 4 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1618, allocations: 3.984 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1618, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.1622, allocations: 248.2 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.1623, allocations: 92.92 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.1623, allocations: 0 / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/0.1624, allocations: 11.98 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.1624, allocations: 7.984 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1625, allocations: 4 kB / 486.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.1627, allocations: 189.2 kB / 486.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1627, allocations: 0 / 486.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1629, allocations: 20 kB / 486.5 MB, free: 14.15 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 (13): * Single equations (assignments): 13 * 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.001688/0.1646, allocations: 1.124 MB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1649, allocations: 87.95 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.165, allocations: 4 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.1651, allocations: 55.91 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.1655, allocations: 16 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.1679, allocations: 1.882 MB / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.1683, allocations: 0.7274 MB / 490.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.521e-05/0.1684, allocations: 16.55 kB / 490.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/0.1684, allocations: 47.34 kB / 490.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1685, allocations: 0 / 490.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.1838, allocations: 3.255 MB / 493.7 MB, free: 7.043 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.184, allocations: 235.9 kB / 494 MB, free: 6.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.116, allocations: 0 / 494 MB, free: 6.789 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches