Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, 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.001153/0.001153, 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.377/1.377, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2055/0.2055, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 80.16 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1393, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.004486/0.1438, allocations: 1.617 MB / 481.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1452, allocations: 0.565 MB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.1453, allocations: 0 / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007417/0.146, allocations: 455.1 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000572/0.1467, allocations: 295.3 kB / 483 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.1472, allocations: 167.1 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.1475, allocations: 175.6 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1476, allocations: 11.98 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.1478, allocations: 107.8 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.1481, allocations: 219.6 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1481, allocations: 4 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.874e-05/0.1482, allocations: 27.98 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1484, allocations: 83.69 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1485, allocations: 103 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.1488, allocations: 254.9 kB / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1489, allocations: 0 / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1489, allocations: 0 / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1489, allocations: 0 / 484.2 MB, free: 1.121 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.0009053/0.1498, allocations: 0.6532 MB / 484.8 MB, free: 428 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1498, allocations: 8.031 kB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.1499, allocations: 34.73 kB / 484.9 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.15, allocations: 48.36 kB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.1504, allocations: 300.2 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1504, allocations: 4.312 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1504, allocations: 4.375 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1506, allocations: 57.61 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1506, allocations: 0 / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1506, allocations: 0 / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1507, allocations: 4 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.1508, allocations: 39.91 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006861/0.1515, allocations: 396.7 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.1517, allocations: 46.56 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.63e-05/0.1518, allocations: 28.88 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1518, allocations: 4 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1519, allocations: 34.55 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.1519, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004634/0.1524, allocations: 129.1 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.1524, allocations: 55.39 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.1537, allocations: 0.8699 MB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1537, allocations: 25.7 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.1539, allocations: 219.9 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.154, allocations: 7.906 kB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.154, allocations: 17.7 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.1542, allocations: 366.7 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.579e-05/0.1544, allocations: 19.98 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.86e-05/0.1545, allocations: 19.97 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.1546, allocations: 44.77 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1547, allocations: 0 / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003005/0.155, allocations: 113.1 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.155, allocations: 12 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.155, allocations: 0 / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.155, allocations: 0 / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1552, allocations: 8 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1552, allocations: 4 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-05/0.1553, allocations: 7.984 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1553, allocations: 0 / 487.7 MB, free: 13.34 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 (3): * Single equations (assignments): 3 * 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.0002541/0.1556, allocations: 217.7 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.076e-05/0.1557, allocations: 43.44 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.156, allocations: 133.4 kB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.156, allocations: 4.031 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1561, allocations: 3.938 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1561, allocations: 0 / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.1565, allocations: 301.5 kB / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1565, allocations: 0 / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.209e-05/0.1566, allocations: 8 kB / 488.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1566, allocations: 0 / 488.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1566, allocations: 4 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1566, allocations: 0 / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1566, allocations: 7.922 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.157, allocations: 210.8 kB / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1571, allocations: 112.6 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.1571, allocations: 0 / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1573, allocations: 11.98 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.1573, allocations: 0 / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1573, allocations: 0 / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008756/0.1582, allocations: 0.6589 MB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1582, allocations: 0 / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004641/0.1587, allocations: 24 kB / 489.4 MB, free: 11.52 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 (3): * Single equations (assignments): 3 * 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.001748/0.1605, allocations: 0.9863 MB / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.1608, allocations: 51.91 kB / 490.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1608, allocations: 0 / 490.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.1609, allocations: 23.91 kB / 490.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.1615, allocations: 26.25 kB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005857/0.1674, allocations: 3.253 MB / 493.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.168, allocations: 0.826 MB / 494.6 MB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.1682, allocations: 16.05 kB / 494.6 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.1684, allocations: 111.4 kB / 494.7 MB, free: 6.211 MB / 366.1 MB Notification: Performance of SimCode: time 1.222e-06/0.1684, allocations: 0 / 494.7 MB, free: 6.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.1986, allocations: 5.673 MB / 0.4887 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.522, allocations: 1.078 kB / 0.4887 GB, free: 0.5859 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches