Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, allocations: 106.8 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 209.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.364/1.364, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 79.64 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1212, allocations: 62.45 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002908/0.1241, allocations: 1.645 MB / 481 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.1259, allocations: 1.136 MB / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.126, allocations: 4 kB / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.1262, allocations: 27.91 kB / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.1266, allocations: 67.77 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.1269, allocations: 75.84 kB / 482.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.127, allocations: 59.83 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1272, allocations: 19.98 kB / 482.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.1272, allocations: 31.84 kB / 482.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.1274, allocations: 27.86 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.1275, allocations: 7.938 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.1277, allocations: 91.88 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.1277, allocations: 19.91 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.1278, allocations: 15.88 kB / 482.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.1281, allocations: 135.9 kB / 482.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1281, allocations: 0 / 482.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1281, allocations: 0 / 482.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1281, allocations: 0 / 482.7 MB, free: 2.215 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.0005989/0.1287, allocations: 411.2 kB / 483.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1288, allocations: 8.875 kB / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.1288, allocations: 34.69 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.1289, allocations: 8.844 kB / 483.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.1291, allocations: 188.2 kB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1291, allocations: 4.375 kB / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1292, allocations: 4.375 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1293, allocations: 59.34 kB / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1294, allocations: 4 kB / 483.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1294, allocations: 8 kB / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1294, allocations: 3.984 kB / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.1295, allocations: 23.86 kB / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.1299, allocations: 276.9 kB / 483.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1301, allocations: 42.56 kB / 483.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.1302, allocations: 20.94 kB / 483.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1302, allocations: 0 / 483.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1302, allocations: 34.5 kB / 483.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1302, allocations: 0 / 483.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005852/0.1308, allocations: 145.3 kB / 484 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.1309, allocations: 81.05 kB / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1311, allocations: 144.3 kB / 484.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1311, allocations: 25.7 kB / 484.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.1311, allocations: 96.12 kB / 484.3 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.1312, allocations: 19.72 kB / 484.4 MB, free: 396 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.1312, allocations: 17.72 kB / 484.4 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1314, allocations: 318.8 kB / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.1315, allocations: 23.98 kB / 484.7 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.269e-05/0.1316, allocations: 29.7 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1317, allocations: 48.83 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1317, allocations: 0 / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002094/0.1319, allocations: 77.86 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.132, allocations: 8.031 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.132, allocations: 0 / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.132, allocations: 4 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.1321, allocations: 19.92 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1321, allocations: 0 / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.1322, allocations: 19.83 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1322, allocations: 0 / 484.9 MB, free: 15.8 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 (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 0.0001061/0.1323, allocations: 113.8 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.1323, allocations: 4 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.1326, allocations: 105.7 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1326, allocations: 0 / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1326, allocations: 0 / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1326, allocations: 3.938 kB / 485.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.1331, allocations: 346.5 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1331, allocations: 8 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.1332, allocations: 15.92 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1332, allocations: 288 / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1332, allocations: 7.938 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1332, allocations: 0 / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1332, allocations: 7.938 kB / 485.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1334, allocations: 171.4 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.1335, allocations: 89.08 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1335, allocations: 3.938 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.1336, allocations: 4 kB / 485.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.1336, allocations: 7.984 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1337, allocations: 192 / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.1338, allocations: 111.3 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1338, allocations: 0 / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1341, allocations: 39.98 kB / 485.9 MB, free: 14.68 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.001624/0.1357, allocations: 1.105 MB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1359, allocations: 51.89 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1359, allocations: 0 / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/0.136, allocations: 27.92 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1364, allocations: 16 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.1381, allocations: 1.426 MB / 488.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1385, allocations: 0.6926 MB / 489.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.853e-05/0.1386, allocations: 16.2 kB / 489.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.1387, allocations: 31.42 kB / 489.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1387, allocations: 0 / 489.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.1541, allocations: 2.987 MB / 492.3 MB, free: 8.449 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.1544, allocations: 244.2 kB / 492.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.063, allocations: 0 / 492.5 MB, free: 8.188 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches