Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007648/0.0007647, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009515/0.0009515, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.199/0.199, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002462/0.0002462, allocations: 11.98 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 63.55 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002241/0.1201, allocations: 1.338 MB / 484.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.1221, allocations: 1.136 MB / 485.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.1222, allocations: 0 / 485.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.1225, allocations: 15.94 kB / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.1227, allocations: 71.75 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1231, allocations: 99.81 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1233, allocations: 79.75 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1234, allocations: 27.98 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.1234, allocations: 11.94 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1236, allocations: 39.83 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1236, allocations: 4 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.1238, allocations: 91.88 kB / 486.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.1239, allocations: 19.92 kB / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.828e-05/0.124, allocations: 49.5 kB / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.1242, allocations: 143.9 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1243, allocations: 0 / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1243, allocations: 0 / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1243, allocations: 0 / 486.3 MB, free: 0.9375 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005274/0.1248, allocations: 405.4 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1248, allocations: 12.88 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.1249, allocations: 34.75 kB / 486.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.1249, allocations: 12.84 kB / 486.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.1252, allocations: 207 kB / 486.9 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-06/0.1252, allocations: 4.375 kB / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1252, allocations: 4.375 kB / 487 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1254, allocations: 83.27 kB / 487 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1254, allocations: 7.938 kB / 487 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1254, allocations: 0 / 487 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1254, allocations: 0 / 487 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.1256, allocations: 43.97 kB / 487.1 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.1262, allocations: 320.6 kB / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.1264, allocations: 54.56 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/0.1264, allocations: 24.97 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.1265, allocations: 3.984 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.1265, allocations: 38.56 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 5.531e-06/0.1266, allocations: 96 / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009304/0.1275, allocations: 209.2 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.1276, allocations: 85.05 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1278, allocations: 153.8 kB / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1278, allocations: 29.7 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.1279, allocations: 104 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.1279, allocations: 23.66 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.128, allocations: 17.72 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1281, allocations: 318.8 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.1282, allocations: 31.97 kB / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.825e-05/0.1283, allocations: 49.78 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.1285, allocations: 84.95 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1285, allocations: 0 / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000238/0.1288, allocations: 121.5 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1288, allocations: 8 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1288, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1289, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.129, allocations: 23.92 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.129, allocations: 3.938 kB / 488.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.1291, allocations: 11.98 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1291, allocations: 4 kB / 488.8 MB, free: 14.21 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.0001004/0.1292, allocations: 117.8 kB / 488.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.1292, allocations: 7.906 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.1296, allocations: 142.3 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1296, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1296, allocations: 3.938 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1296, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.1302, allocations: 418.4 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1302, allocations: 0 / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/0.1303, allocations: 27.86 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1303, allocations: 0 / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1303, allocations: 384 / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1303, allocations: 4.172 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1303, allocations: 0 / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.1306, allocations: 223.4 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.1307, allocations: 92.94 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.1307, allocations: 4 kB / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.1308, allocations: 8 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.1308, allocations: 3.984 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.1308, allocations: 4 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1309, allocations: 121.4 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.131, allocations: 3.938 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.1313, allocations: 44 kB / 490 MB, free: 12.9 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 (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.001583/0.1328, allocations: 1.126 MB / 491.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.1331, allocations: 91.86 kB / 491.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1331, allocations: 0 / 491.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.88e-05/0.1332, allocations: 48.12 kB / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.1335, allocations: 19.92 kB / 491.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1355, allocations: 1.592 MB / 492.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1358, allocations: 0.701 MB / 493.5 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.2e-05/0.1359, allocations: 20.56 kB / 493.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.136, allocations: 35.42 kB / 493.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.136, allocations: 3.938 kB / 493.6 MB, free: 9.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.1517, allocations: 2.988 MB / 496.6 MB, free: 6.426 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.152, allocations: 238.9 kB / 496.8 MB, free: 6.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.981, allocations: 3.938 kB / 496.8 MB, free: 6.168 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches