Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.00151/0.00151, allocations: 109.6 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001714/0.001714, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 246.4 MB, free: 9.141 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1853/0.1853, allocations: 46.1 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 73.3 kB / 417.1 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1129, allocations: 62.45 MB / 479.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002847/0.1157, allocations: 1.68 MB / 481.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008457/0.1166, allocations: 0.5378 MB / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.1167, allocations: 0 / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.1169, allocations: 67.84 kB / 481.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.1172, allocations: 95.77 kB / 482 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.1174, allocations: 79.8 kB / 482.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1176, allocations: 79.88 kB / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.1177, allocations: 15.98 kB / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.428e-05/0.1177, allocations: 43.78 kB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1179, allocations: 59.75 kB / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1179, allocations: 4 kB / 482.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.973e-05/0.118, allocations: 43.98 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.118, allocations: 19.92 kB / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.1181, allocations: 27.75 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1183, allocations: 115.9 kB / 482.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1183, allocations: 0 / 482.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1183, allocations: 0 / 482.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1183, allocations: 0 / 482.5 MB, free: 2.605 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.0004304/0.1187, allocations: 414.9 kB / 482.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1188, allocations: 8.031 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.1188, allocations: 42.75 kB / 482.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.1188, allocations: 8.844 kB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.119, allocations: 202.7 kB / 483.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.119, allocations: 384 / 483.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1191, allocations: 4.375 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1192, allocations: 57.61 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1192, allocations: 3.906 kB / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1192, allocations: 0 / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1192, allocations: 4 kB / 483.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.144e-05/0.1193, allocations: 27.92 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.1197, allocations: 296.8 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1198, allocations: 46.55 kB / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.1198, allocations: 16.86 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.1199, allocations: 3.938 kB / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1199, allocations: 34.56 kB / 483.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1199, allocations: 0 / 483.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008248/0.1207, allocations: 233.2 kB / 483.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1208, allocations: 55.41 kB / 483.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.121, allocations: 210.8 kB / 484.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.121, allocations: 25.7 kB / 484.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.1211, allocations: 112.1 kB / 484.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.1211, allocations: 19.62 kB / 484.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.1211, allocations: 25.7 kB / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1212, allocations: 322.8 kB / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.1213, allocations: 27.98 kB / 484.6 MB, free: 228 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.778e-05/0.1214, allocations: 23.98 kB / 484.6 MB, free: 204 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.1215, allocations: 68.83 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1216, allocations: 0 / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001963/0.1218, allocations: 97.56 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1218, allocations: 8 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1218, allocations: 0 / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.1218, allocations: 7.938 kB / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1219, allocations: 16.03 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1219, allocations: 3.938 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.122, allocations: 4 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.122, allocations: 4 kB / 484.8 MB, free: 15.98 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 8.474e-05/0.1221, allocations: 129.7 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.1221, allocations: 15.81 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.1224, allocations: 127.3 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1224, allocations: 0 / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1224, allocations: 3.938 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1224, allocations: 4 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.1229, allocations: 403.3 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1229, allocations: 4.031 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.123, allocations: 19.92 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.123, allocations: 0 / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.123, allocations: 7.938 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.123, allocations: 0 / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.123, allocations: 3.984 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.1233, allocations: 208.2 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.1233, allocations: 96.88 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1233, allocations: 0 / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.1234, allocations: 4 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.1235, allocations: 7.984 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1235, allocations: 4 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1236, allocations: 164.7 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1236, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1239, allocations: 24 kB / 486 MB, free: 14.67 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.001346/0.1252, allocations: 1.092 MB / 487.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.1254, allocations: 67.89 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1254, allocations: 0 / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.1255, allocations: 35.92 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1259, allocations: 20.05 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.1276, allocations: 1.685 MB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1278, allocations: 0.7119 MB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.739e-05/0.1279, allocations: 4.672 kB / 489.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.1279, allocations: 35.42 kB / 489.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1279, allocations: 4.094 kB / 489.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.095/2.223, allocations: 2.927 MB / 492.6 MB, free: 8.203 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/2.223, allocations: 238.6 kB / 492.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/4.814, allocations: 0 / 492.8 MB, free: 7.949 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches