Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 103.2 kB / 17.2 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.001198/0.001199, allocations: 209.8 kB / 18.14 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.411/1.411, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 80.44 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1248, allocations: 62.45 MB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003348/0.1282, allocations: 1.7 MB / 481.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1293, allocations: 0.5455 MB / 481.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.1294, allocations: 4 kB / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.1297, allocations: 91.81 kB / 481.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.13, allocations: 103.7 kB / 481.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1303, allocations: 75.84 kB / 481.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1305, allocations: 91.81 kB / 482 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1306, allocations: 32.25 kB / 482 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.1307, allocations: 35.8 kB / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.1308, allocations: 59.8 kB / 482.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1309, allocations: 4 kB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.131, allocations: 43.98 kB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.1311, allocations: 27.91 kB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.1311, allocations: 39.69 kB / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.1313, allocations: 127.5 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1313, allocations: 0 / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1313, allocations: 0 / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1314, allocations: 0 / 482.4 MB, free: 2.633 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005271/0.1319, allocations: 430.8 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1319, allocations: 12.88 kB / 482.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.122e-05/0.132, allocations: 38.73 kB / 482.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.132, allocations: 16.75 kB / 482.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.1323, allocations: 212.5 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1323, allocations: 8.375 kB / 483.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1323, allocations: 4.375 kB / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1325, allocations: 77.53 kB / 483.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1325, allocations: 0 / 483.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.1325, allocations: 0 / 483.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1325, allocations: 4 kB / 483.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.1327, allocations: 35.97 kB / 483.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.1331, allocations: 336.6 kB / 483.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1333, allocations: 66.48 kB / 483.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.1333, allocations: 24.84 kB / 483.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1334, allocations: 4.141 kB / 483.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1334, allocations: 34.56 kB / 483.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.1334, allocations: 0 / 483.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001056/0.1345, allocations: 308.8 kB / 483.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1345, allocations: 67.33 kB / 484 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.1348, allocations: 235.5 kB / 484.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1348, allocations: 25.7 kB / 484.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.1349, allocations: 112 kB / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.1349, allocations: 43.44 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.135, allocations: 29.72 kB / 484.4 MB, free: 344 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1351, allocations: 326.8 kB / 484.8 MB, free: 8 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.1352, allocations: 35.98 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.229e-05/0.1353, allocations: 39.97 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.1355, allocations: 84.83 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1355, allocations: 0 / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002499/0.1357, allocations: 141.4 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1358, allocations: 4 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1358, allocations: 0 / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1358, allocations: 7.938 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1359, allocations: 31.98 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1359, allocations: 112 / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.136, allocations: 11.92 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.136, allocations: 0 / 485.1 MB, free: 15.65 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 (13): * Single equations (assignments): 13 * 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.0001147/0.1361, allocations: 145.7 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.1362, allocations: 11.81 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.1365, allocations: 182.5 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1365, allocations: 7.984 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1365, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1365, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.1371, allocations: 483 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1371, allocations: 0 / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.199e-05/0.1372, allocations: 27.92 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1372, allocations: 4 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1373, allocations: 0 / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1373, allocations: 0 / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1373, allocations: 4 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.1376, allocations: 248.1 kB / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.1376, allocations: 88.92 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1377, allocations: 8 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.1377, allocations: 4 kB / 486.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.1378, allocations: 11.92 kB / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1378, allocations: 8 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.1379, allocations: 177.2 kB / 486.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.138, allocations: 0 / 486.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1382, allocations: 28 kB / 486.5 MB, free: 14.13 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 (13): * Single equations (assignments): 13 * 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.001558/0.1398, allocations: 1.116 MB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.14, allocations: 91.95 kB / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1401, allocations: 0 / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1402, allocations: 59.97 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.1406, allocations: 19.98 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.143, allocations: 1.878 MB / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.1434, allocations: 0.7235 MB / 490.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.1436, allocations: 24.53 kB / 490.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1437, allocations: 47.42 kB / 490.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1437, allocations: 0 / 490.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.163, allocations: 3.255 MB / 493.7 MB, free: 7.023 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003143/0.1633, allocations: 237.6 kB / 494 MB, free: 6.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.101, allocations: 3.938 kB / 494 MB, free: 6.762 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches