Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 109.8 kB / 17.33 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 201.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 46.1 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 72.95 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1166, allocations: 62.44 MB / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003078/0.1197, allocations: 1.711 MB / 481.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.1205, allocations: 0.6605 MB / 482 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.1206, allocations: 4 kB / 482 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.1208, allocations: 27.91 kB / 482 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.121, allocations: 43.83 kB / 482 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.439e-06/0.121, allocations: 0 / 482 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1212, allocations: 35.91 kB / 482.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.1212, allocations: 7.984 kB / 482.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.1213, allocations: 7.938 kB / 482.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.552e-05/0.1213, allocations: 31.84 kB / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1214, allocations: 0 / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.1214, allocations: 12 kB / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.1215, allocations: 15.92 kB / 482.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.1215, allocations: 15.88 kB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.1216, allocations: 71.95 kB / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1216, allocations: 0 / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1216, allocations: 4 kB / 482.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1217, allocations: 0 / 482.2 MB, free: 2.809 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004356/0.1221, allocations: 363.4 kB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1221, allocations: 12.02 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.1222, allocations: 42.73 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.1222, allocations: 16.69 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.1224, allocations: 172.2 kB / 482.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1224, allocations: 8.375 kB / 482.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.1224, allocations: 384 / 482.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.1226, allocations: 125.7 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1227, allocations: 3.938 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1227, allocations: 7.984 kB / 483 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/0.1227, allocations: 23.98 kB / 483 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.343e-05/0.1228, allocations: 39.91 kB / 483 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.1235, allocations: 0.8867 MB / 483.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1236, allocations: 181.2 kB / 484.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.1237, allocations: 84.08 kB / 484.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1237, allocations: 75.28 kB / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.1238, allocations: 105.8 kB / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.1238, allocations: 0 / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.973e-05/0.1239, allocations: 33.61 kB / 484.4 MB, free: 444 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.124, allocations: 130.7 kB / 484.5 MB, free: 300 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.1242, allocations: 190 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1242, allocations: 25.7 kB / 484.7 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1243, allocations: 151.1 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.707e-06/0.1243, allocations: 7.938 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.1244, allocations: 45.55 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1245, allocations: 322.8 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.1246, allocations: 35.98 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.1247, allocations: 153.1 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.125, allocations: 196.9 kB / 485.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-05/0.125, allocations: 7.938 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003072/0.1253, allocations: 201.1 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1253, allocations: 4 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1254, allocations: 8 kB / 485.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.1254, allocations: 4.625 kB / 485.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1255, allocations: 39.92 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1255, allocations: 11.94 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/0.1256, allocations: 27.69 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.1257, allocations: 8 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000143/0.1258, allocations: 217 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.1259, allocations: 116.8 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.283e-05/0.126, allocations: 120.8 kB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.247e-05/0.126, allocations: 180.3 kB / 486.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.716e-05/0.1261, allocations: 176.3 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.561e-05/0.1262, allocations: 192.2 kB / 486.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.1265, allocations: 429.1 kB / 487.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-05/0.1266, allocations: 104.9 kB / 487.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.1266, allocations: 101 kB / 487.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.169e-05/0.1267, allocations: 184.2 kB / 487.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.1268, allocations: 184.2 kB / 487.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.246e-05/0.1268, allocations: 176.3 kB / 488.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.579e-05/0.1269, allocations: 180.2 kB / 488.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.127, allocations: 323.7 kB / 488.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.1271, allocations: 185.9 kB / 488.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.1272, allocations: 180.3 kB / 488.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.1273, allocations: 108.9 kB / 489 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.1273, allocations: 184.2 kB / 489.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.1274, allocations: 105 kB / 489.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.806e-05/0.1275, allocations: 131.2 kB / 489.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.1275, allocations: 0 / 489.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1277, allocations: 19.94 kB / 489.4 MB, free: 10.97 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 (0): * Single equations (assignments): 0 * 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.00071/0.1285, allocations: 0.9123 MB / 490.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.1286, allocations: 75.78 kB / 490.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1286, allocations: 0 / 490.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.1286, allocations: 0 / 490.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.129, allocations: 464.9 kB / 490.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1306, allocations: 1.882 MB / 492.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1309, allocations: 0.7083 MB / 493.5 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.131, allocations: 49.02 kB / 493.5 MB, free: 6.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.1311, allocations: 31.44 kB / 493.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1311, allocations: 0 / 493.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.1499, allocations: 1.959 MB / 495.5 MB, free: 4.797 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.1501, allocations: 243 kB / 495.8 MB, free: 4.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.023, allocations: 0 / 495.8 MB, free: 4.535 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches