Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009004/0.0009004, allocations: 96.02 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009997/0.0009997, allocations: 201.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.7 MB / 246.8 MB, free: 9.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002602/0.0002603, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1293, allocations: 63.57 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002164/0.1316, allocations: 1.334 MB / 484.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1326, allocations: 0.534 MB / 485 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.1327, allocations: 0 / 485 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.133, allocations: 67.84 kB / 485.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.1333, allocations: 95.7 kB / 485.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.1336, allocations: 99.2 kB / 485.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1338, allocations: 79.8 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1339, allocations: 19.98 kB / 485.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/0.134, allocations: 31.84 kB / 485.4 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1341, allocations: 55.83 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1342, allocations: 0 / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1343, allocations: 43.97 kB / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.1343, allocations: 19.92 kB / 485.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.1344, allocations: 53.45 kB / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1346, allocations: 111.9 kB / 485.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1346, allocations: 0 / 485.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1346, allocations: 0 / 485.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1346, allocations: 3.938 kB / 485.7 MB, free: 1.48 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.0004831/0.1351, allocations: 399.1 kB / 486.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1352, allocations: 8.875 kB / 486.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.1352, allocations: 42.75 kB / 486.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1353, allocations: 8.844 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.1355, allocations: 202.7 kB / 486.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1355, allocations: 384 / 486.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.1355, allocations: 4.375 kB / 486.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1357, allocations: 69.55 kB / 486.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1357, allocations: 0 / 486.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1357, allocations: 0 / 486.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1357, allocations: 0 / 486.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1358, allocations: 31.97 kB / 486.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.1362, allocations: 312.7 kB / 486.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.1363, allocations: 50.5 kB / 486.8 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.1364, allocations: 20.94 kB / 486.8 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.1364, allocations: 0 / 486.8 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1365, allocations: 34.56 kB / 486.9 MB, free: 152 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1365, allocations: 4 kB / 486.9 MB, free: 148 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009517/0.1374, allocations: 265.1 kB / 487.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.1375, allocations: 55.41 kB / 487.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1377, allocations: 218.7 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1377, allocations: 25.7 kB / 487.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.1378, allocations: 112.1 kB / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1378, allocations: 19.7 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.1379, allocations: 17.72 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.138, allocations: 330.8 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1381, allocations: 35.97 kB / 487.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/0.1382, allocations: 43.98 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1384, allocations: 80.81 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1384, allocations: 0 / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000235/0.1386, allocations: 125.5 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1386, allocations: 4 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1386, allocations: 0 / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1387, allocations: 0 / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1388, allocations: 19.98 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.1388, allocations: 11.88 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.1388, allocations: 8 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.1388, allocations: 3.984 kB / 488.2 MB, free: 14.73 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 9.297e-05/0.1389, allocations: 125.8 kB / 488.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.139, allocations: 11.81 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.1393, allocations: 143 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1393, allocations: 432 / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1393, allocations: 11.94 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1393, allocations: 0 / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.1398, allocations: 423.3 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1399, allocations: 32 / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.1399, allocations: 35.84 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1399, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.14, allocations: 8 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.14, allocations: 4 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.14, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1403, allocations: 224.6 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.1403, allocations: 88.95 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1403, allocations: 3.984 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.1404, allocations: 4 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1405, allocations: 19.86 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1405, allocations: 4 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1406, allocations: 168.7 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1406, allocations: 0 / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1409, allocations: 16 kB / 489.5 MB, free: 13.36 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.00147/0.1423, allocations: 1.101 MB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.1426, allocations: 87.88 kB / 490.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1426, allocations: 0 / 490.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.861e-05/0.1427, allocations: 47.91 kB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.143, allocations: 20.06 kB / 490.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.1449, allocations: 1.747 MB / 492.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.1452, allocations: 0.72 MB / 493.2 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.97e-05/0.1452, allocations: 20.95 kB / 493.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.1453, allocations: 31.42 kB / 493.3 MB, free: 9.617 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1453, allocations: 0 / 493.3 MB, free: 9.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.1588, allocations: 2.723 MB / 496 MB, free: 7 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/0.1591, allocations: 239 kB / 496.2 MB, free: 6.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/1.939, allocations: 0 / 496.2 MB, free: 6.738 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches