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.001079/0.001079, allocations: 103.8 kB / 17.63 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 206.4 kB / 18.58 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001619, allocations: 75.47 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.118, allocations: 62.43 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003557/0.1216, allocations: 1.62 MB / 481.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1228, allocations: 0.5455 MB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.646e-05/0.1229, allocations: 4 kB / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.1233, allocations: 75.7 kB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.1237, allocations: 107.6 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.1241, allocations: 111.4 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.1243, allocations: 79.81 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1244, allocations: 23.98 kB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.1245, allocations: 35.84 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1247, allocations: 51.83 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.1247, allocations: 4 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1248, allocations: 47.97 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.1249, allocations: 23.92 kB / 482.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.125, allocations: 39.67 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1252, allocations: 99.98 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1252, allocations: 0 / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1252, allocations: 3.938 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1252, allocations: 4 kB / 483 MB, free: 2.281 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.0006112/0.1259, allocations: 410.9 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1259, allocations: 8.031 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.126, allocations: 30.75 kB / 483.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.126, allocations: 12.84 kB / 483.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1262, allocations: 204.8 kB / 483.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.1263, allocations: 4.375 kB / 483.6 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.1263, allocations: 4.375 kB / 483.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1265, allocations: 65.48 kB / 483.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1265, allocations: 3.906 kB / 483.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1265, allocations: 3.984 kB / 483.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1265, allocations: 0 / 483.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.885e-05/0.1266, allocations: 27.97 kB / 483.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.1271, allocations: 300.8 kB / 484 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1272, allocations: 54.48 kB / 484.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.1273, allocations: 16.86 kB / 484.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.1273, allocations: 0 / 484.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1273, allocations: 34.66 kB / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.1273, allocations: 0 / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009763/0.1283, allocations: 241.1 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.1284, allocations: 59.34 kB / 484.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1286, allocations: 218.3 kB / 484.6 MB, free: 424 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1286, allocations: 29.7 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.1287, allocations: 104.1 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.1287, allocations: 31.61 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.1288, allocations: 21.72 kB / 484.8 MB, free: 220 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1289, allocations: 326.8 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.129, allocations: 27.98 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.1291, allocations: 35.97 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1293, allocations: 72.81 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1293, allocations: 0 / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002463/0.1296, allocations: 109.5 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1296, allocations: 10.5 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1296, allocations: 4 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1297, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1298, allocations: 23.92 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1298, allocations: 4.25 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.1298, allocations: 8 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1299, allocations: 4 kB / 485.4 MB, free: 15.59 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 0.0001051/0.13, allocations: 129.8 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.13, allocations: 11.81 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.1303, allocations: 139 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1303, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1303, allocations: 3.938 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1304, allocations: 3.938 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.1309, allocations: 419.3 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1309, allocations: 0 / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.131, allocations: 27.95 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.131, allocations: 4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.131, allocations: 4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.131, allocations: 3.938 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.131, allocations: 0 / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.1313, allocations: 216.1 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.1313, allocations: 93.38 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.1314, allocations: 0 / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.067e-05/0.1314, allocations: 11.92 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1315, allocations: 8 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1315, allocations: 4 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1316, allocations: 156.2 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1316, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1319, allocations: 27.98 kB / 486.7 MB, free: 14.24 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.001506/0.1334, allocations: 1.104 MB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.1337, allocations: 79.92 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1337, allocations: 0 / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.875e-05/0.1338, allocations: 39.92 kB / 487.9 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.0003569/0.1342, allocations: 19.55 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1361, allocations: 1.697 MB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1364, allocations: 0.7119 MB / 490.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.257e-05/0.1364, allocations: 16.66 kB / 490.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.1365, allocations: 39.42 kB / 490.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1365, allocations: 3.938 kB / 490.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.1574, allocations: 3.08 MB / 493.5 MB, free: 7.531 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.341, allocations: 4.953 kB / 493.5 MB, free: 7.531 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