Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",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: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 74.34 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1136, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.00411/0.1177, allocations: 1.608 MB / 481.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.119, allocations: 0.5494 MB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1191, allocations: 0 / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.1196, allocations: 79.7 kB / 482.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004676/0.1201, allocations: 103.6 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.1205, allocations: 119.1 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.1207, allocations: 83.81 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1209, allocations: 16 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.121, allocations: 43.83 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1211, allocations: 51.83 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1211, allocations: 4 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1212, allocations: 47.97 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.1213, allocations: 19.92 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.1214, allocations: 35.69 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1216, allocations: 104 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1216, allocations: 0 / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.1216, allocations: 0 / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1216, allocations: 7.938 kB / 483 MB, free: 2.309 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.0005415/0.1222, allocations: 407 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1222, allocations: 12.03 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.1222, allocations: 30.75 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.1223, allocations: 12.83 kB / 483.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.1225, allocations: 196.8 kB / 483.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1225, allocations: 8.375 kB / 483.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1226, allocations: 8.297 kB / 483.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1227, allocations: 61.62 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1228, allocations: 3.906 kB / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1228, allocations: 0 / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1228, allocations: 0 / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1229, allocations: 27.97 kB / 483.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.1234, allocations: 300.8 kB / 484 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.1236, allocations: 50.5 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.1237, allocations: 20.94 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.1237, allocations: 8.062 kB / 484.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1238, allocations: 30.56 kB / 484.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1238, allocations: 0 / 484.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001121/0.1249, allocations: 241.4 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1249, allocations: 51.41 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.1252, allocations: 226.2 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1252, allocations: 33.64 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.1253, allocations: 104 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.1253, allocations: 31.61 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1254, allocations: 25.72 kB / 484.8 MB, free: 244 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1255, allocations: 322.8 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.1256, allocations: 35.97 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.1257, allocations: 27.98 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.1258, allocations: 72.81 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1259, allocations: 0 / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002186/0.1261, allocations: 117.5 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1261, allocations: 4 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1261, allocations: 0 / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1261, allocations: 4 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1263, allocations: 19.92 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1263, allocations: 3.938 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.1263, allocations: 11.98 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1263, allocations: 4 kB / 485.4 MB, free: 15.61 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.798e-05/0.1264, allocations: 129.8 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.1265, allocations: 15.81 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.1268, allocations: 126.9 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1268, allocations: 4 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1268, allocations: 3.938 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1268, allocations: 3.984 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.1274, allocations: 423.7 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1274, allocations: 0 / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/0.1275, allocations: 19.94 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1275, allocations: 3.984 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1275, allocations: 4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1275, allocations: 4.078 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1275, allocations: 3.984 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1278, allocations: 216.2 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.1279, allocations: 88.95 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1279, allocations: 3.984 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.128, allocations: 4 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.1281, allocations: 23.91 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.1281, allocations: 0 / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1282, allocations: 160.2 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1282, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1285, allocations: 24 kB / 486.7 MB, free: 14.26 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.001393/0.1299, allocations: 1.094 MB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.1301, allocations: 75.95 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1301, allocations: 0 / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1303, allocations: 39.91 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.1307, allocations: 19 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.1325, allocations: 1.701 MB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1328, allocations: 0.7157 MB / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.998e-05/0.1329, allocations: 24.95 kB / 490.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.1329, allocations: 35.42 kB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1329, allocations: 0 / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.1504, allocations: 3.071 MB / 493.5 MB, free: 7.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.244, allocations: 9.078 kB / 493.5 MB, free: 7.566 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches