Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 105.2 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2505/0.2505, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 77.03 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1226, allocations: 62.44 MB / 479.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.004211/0.1268, allocations: 1.663 MB / 481 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1279, allocations: 0.5184 MB / 481.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.128, allocations: 3.938 kB / 481.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.1283, allocations: 31.78 kB / 481.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.1286, allocations: 63.83 kB / 481.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.1289, allocations: 83.66 kB / 481.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.129, allocations: 59.84 kB / 481.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.1291, allocations: 19.97 kB / 481.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.1292, allocations: 15.88 kB / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.1293, allocations: 27.84 kB / 481.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1293, allocations: 0 / 481.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.204e-05/0.1294, allocations: 39.92 kB / 481.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.1294, allocations: 7.984 kB / 481.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.1295, allocations: 23.8 kB / 481.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1296, allocations: 88.02 kB / 482 MB, free: 3.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1297, allocations: 0 / 482 MB, free: 3.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1297, allocations: 0 / 482 MB, free: 3.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1297, allocations: 0 / 482 MB, free: 3.008 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.0004501/0.1301, allocations: 383.2 kB / 482.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1302, allocations: 8.875 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.1302, allocations: 38.73 kB / 482.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.1303, allocations: 4.844 kB / 482.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.1305, allocations: 196.1 kB / 482.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.1305, allocations: 4.375 kB / 482.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1305, allocations: 12.38 kB / 482.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1306, allocations: 49.61 kB / 482.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1307, allocations: 0 / 482.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.1307, allocations: 0 / 482.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1307, allocations: 4 kB / 482.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.1308, allocations: 19.98 kB / 482.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.1311, allocations: 284.8 kB / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.1313, allocations: 38.56 kB / 483 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.1314, allocations: 20.88 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1314, allocations: 4 kB / 483.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1315, allocations: 30.56 kB / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1315, allocations: 0 / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005582/0.132, allocations: 149.2 kB / 483.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1321, allocations: 51.41 kB / 483.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1322, allocations: 173.1 kB / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1323, allocations: 25.7 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.1323, allocations: 92.14 kB / 483.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.1323, allocations: 19.73 kB / 483.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.1324, allocations: 21.72 kB / 483.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1325, allocations: 322.8 kB / 483.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.1326, allocations: 19.92 kB / 483.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.1326, allocations: 19.92 kB / 484 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1328, allocations: 48.83 kB / 484 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1328, allocations: 0 / 484 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001737/0.133, allocations: 81.58 kB / 484.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.133, allocations: 4 kB / 484.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.133, allocations: 0 / 484.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.133, allocations: 4 kB / 484.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.1331, allocations: 11.98 kB / 484.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1331, allocations: 3.938 kB / 484.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.1331, allocations: 4 kB / 484.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1331, allocations: 256 / 484.1 MB, free: 0.6719 MB / 350.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 (5): * Single equations (assignments): 5 * 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 8.209e-05/0.1332, allocations: 129.8 kB / 484.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.1333, allocations: 11.91 kB / 484.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.1335, allocations: 93.95 kB / 484.3 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1335, allocations: 0 / 484.3 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.1335, allocations: 3.938 kB / 484.3 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1335, allocations: 0 / 484.3 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.1339, allocations: 350.5 kB / 484.7 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.134, allocations: 0 / 484.7 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.134, allocations: 15.98 kB / 484.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.134, allocations: 3.938 kB / 484.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.134, allocations: 0 / 484.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1341, allocations: 3.938 kB / 484.7 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1341, allocations: 0 / 484.7 MB, free: 0 / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.1343, allocations: 187.6 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.1344, allocations: 81.09 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1344, allocations: 7.922 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.1345, allocations: 8 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.1345, allocations: 4 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1345, allocations: 3.984 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.779e-05/0.1346, allocations: 123.2 kB / 485.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1346, allocations: 0 / 485.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1349, allocations: 27.91 kB / 485.1 MB, free: 15.53 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 (5): * Single equations (assignments): 5 * 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.001284/0.1362, allocations: 0.9898 MB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.1364, allocations: 55.89 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1364, allocations: 0 / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.1365, allocations: 23.98 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1368, allocations: 19.98 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.1385, allocations: 1.466 MB / 487.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.1387, allocations: 0.6997 MB / 488.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.1388, allocations: 8.234 kB / 488.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.1388, allocations: 27.42 kB / 488.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1389, allocations: 4 kB / 488.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.1519, allocations: 2.357 MB / 490.8 MB, free: 9.965 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.1521, allocations: 241.2 kB / 491 MB, free: 9.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.018, allocations: 3.938 kB / 491 MB, free: 9.699 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches