Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001633/0.001633, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002269/0.002269, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2595/0.2595, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 74.16 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1385, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.004463/0.143, allocations: 2.039 MB / 482.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1452, allocations: 1.017 MB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.1454, allocations: 4 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.1459, allocations: 251.2 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006025/0.1466, allocations: 271 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1478, allocations: 492.9 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.1483, allocations: 319.2 kB / 484.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.1485, allocations: 68.92 kB / 484.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.1487, allocations: 131.5 kB / 484.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.1489, allocations: 211.2 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.149, allocations: 12 kB / 484.9 MB, free: 408 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.1491, allocations: 67.97 kB / 485 MB, free: 340 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.1493, allocations: 95.59 kB / 485.1 MB, free: 244 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1494, allocations: 130.9 kB / 485.2 MB, free: 112 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.1499, allocations: 334.7 kB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1499, allocations: 0 / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1499, allocations: 0 / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.1499, allocations: 4 kB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000972/0.1509, allocations: 0.6728 MB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1509, allocations: 8.031 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.151, allocations: 46.73 kB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/0.1511, allocations: 44.38 kB / 486.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.1514, allocations: 330 kB / 486.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1514, allocations: 8.375 kB / 486.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.1515, allocations: 12.38 kB / 486.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.1517, allocations: 113.5 kB / 486.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1518, allocations: 4 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1518, allocations: 4 kB / 486.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1518, allocations: 0 / 486.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.152, allocations: 75.83 kB / 486.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.1527, allocations: 0.5003 MB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1529, allocations: 90.55 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.346e-05/0.153, allocations: 32.84 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.153, allocations: 11.97 kB / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.153, allocations: 42.44 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.153, allocations: 0 / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009982/0.154, allocations: 398.9 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1541, allocations: 59.34 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006528/0.1548, allocations: 0.5839 MB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1548, allocations: 25.7 kB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.155, allocations: 216.3 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.462e-05/0.155, allocations: 59.11 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.246e-05/0.1551, allocations: 37.7 kB / 488.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1553, allocations: 354.8 kB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1554, allocations: 51.97 kB / 489.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1555, allocations: 47.97 kB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.1558, allocations: 123.1 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1558, allocations: 0 / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003632/0.1562, allocations: 212.9 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1562, allocations: 4 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1562, allocations: 0 / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1562, allocations: 4 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1564, allocations: 27.98 kB / 489.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1564, allocations: 4 kB / 489.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.915e-05/0.1565, allocations: 7.984 kB / 489.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1565, allocations: 8 kB / 489.7 MB, free: 11.38 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 (17): * Single equations (assignments): 17 * 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.0001665/0.1567, allocations: 177.7 kB / 489.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.223e-05/0.1568, allocations: 47.42 kB / 489.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.1572, allocations: 236.2 kB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1572, allocations: 4 kB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1573, allocations: 0 / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1573, allocations: 0 / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007979/0.1581, allocations: 0.6503 MB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1581, allocations: 0 / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.1582, allocations: 35.97 kB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1582, allocations: 0 / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1582, allocations: 8 kB / 490.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1582, allocations: 7.938 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1583, allocations: 0 / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.1587, allocations: 302.8 kB / 491.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.1588, allocations: 116.6 kB / 491.3 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.1588, allocations: 4 kB / 491.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.159, allocations: 11.94 kB / 491.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.1591, allocations: 11.98 kB / 491.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.1591, allocations: 8 kB / 491.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007174/0.1599, allocations: 443.1 kB / 491.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1599, allocations: 0 / 491.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000536/0.1604, allocations: 51.98 kB / 491.8 MB, free: 9.18 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 (17): * Single equations (assignments): 17 * 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.003518/0.164, allocations: 1.429 MB / 493.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005369/0.1645, allocations: 138.4 kB / 493.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1645, allocations: 0 / 493.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.1648, allocations: 71.91 kB / 493.4 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000864/0.1656, allocations: 99.45 kB / 493.5 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/0.1701, allocations: 3.191 MB / 496.7 MB, free: 4.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.1706, allocations: 0.8143 MB / 497.5 MB, free: 3.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.1708, allocations: 50.23 kB / 497.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.171, allocations: 135.4 kB / 497.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.171, allocations: 0 / 497.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.2034, allocations: 7.484 MB / 0.4933 GB, free: 12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.263, allocations: 6.891 kB / 0.4933 GB, free: 12 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches