Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 115.8 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.4 MB / 246.4 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.242/0.242, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 78.59 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1229, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002619/0.1256, allocations: 1.68 MB / 481.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008702/0.1265, allocations: 0.5378 MB / 481.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.1265, allocations: 0 / 481.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1268, allocations: 127.7 kB / 481.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.1271, allocations: 119.7 kB / 482.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.1274, allocations: 95.83 kB / 482.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1276, allocations: 95.78 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.1277, allocations: 16 kB / 482.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.571e-05/0.1278, allocations: 51.81 kB / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1279, allocations: 83.78 kB / 482.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1279, allocations: 4 kB / 482.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.128, allocations: 47.92 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.1281, allocations: 35.86 kB / 482.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.1281, allocations: 35.69 kB / 482.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1283, allocations: 123.9 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1283, allocations: 0 / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1283, allocations: 0 / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1283, allocations: 0 / 482.6 MB, free: 2.465 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.0004699/0.1288, allocations: 437.4 kB / 483.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1289, allocations: 8.031 kB / 483.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.1289, allocations: 34.75 kB / 483.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.1289, allocations: 16.75 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.1291, allocations: 215.9 kB / 483.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1292, allocations: 4.359 kB / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.1292, allocations: 8.375 kB / 483.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1293, allocations: 53.61 kB / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1293, allocations: 0 / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1294, allocations: 4 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1294, allocations: 3.938 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1295, allocations: 27.97 kB / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.1299, allocations: 316.7 kB / 483.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.13, allocations: 46.56 kB / 483.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.1301, allocations: 16.94 kB / 483.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1301, allocations: 0 / 483.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1301, allocations: 38.56 kB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1301, allocations: 0 / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008715/0.131, allocations: 256.8 kB / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.131, allocations: 51.41 kB / 484.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.1313, allocations: 283.7 kB / 484.4 MB, free: 496 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1313, allocations: 29.7 kB / 484.4 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.1314, allocations: 120 kB / 484.6 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.1314, allocations: 23.62 kB / 484.6 MB, free: 312 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.1315, allocations: 21.7 kB / 484.6 MB, free: 284 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1316, allocations: 326.8 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.1317, allocations: 27.98 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.1318, allocations: 35.97 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1319, allocations: 68.83 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1319, allocations: 0 / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00021/0.1322, allocations: 117.5 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1322, allocations: 4 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1322, allocations: 0 / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1322, allocations: 432 / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.1323, allocations: 27.98 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1323, allocations: 3.938 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.1324, allocations: 11.84 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1324, allocations: 0 / 485.2 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 (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.689e-05/0.1325, allocations: 133.8 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.1325, allocations: 11.91 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.1328, allocations: 146.8 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1328, allocations: 7.938 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1328, allocations: 7.938 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1329, allocations: 0 / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.1334, allocations: 431.7 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1334, allocations: 0 / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.1334, allocations: 23.92 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1335, allocations: 4.031 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.1335, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1335, allocations: 4 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1335, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1337, allocations: 220.2 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.1338, allocations: 96.86 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1338, allocations: 0 / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.1339, allocations: 4 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.1339, allocations: 11.98 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.1339, allocations: 4 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1341, allocations: 209.5 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1341, allocations: 0 / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1344, allocations: 24 kB / 486.5 MB, free: 14.23 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.001387/0.1358, allocations: 1.097 MB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.136, allocations: 79.88 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.136, allocations: 0 / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.1361, allocations: 35.98 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1364, allocations: 22.92 kB / 487.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.1383, allocations: 1.871 MB / 489.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1386, allocations: 0.7254 MB / 490.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.992e-05/0.1387, allocations: 24.95 kB / 490.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.1387, allocations: 39.42 kB / 490.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1387, allocations: 0 / 490.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1251/0.2639, allocations: 3.258 MB / 493.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003613/0.2643, allocations: 244.8 kB / 493.9 MB, free: 6.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.188, allocations: 0 / 493.9 MB, free: 6.922 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches