Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009104/0.0009104, allocations: 91.38 kB / 17.35 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 197.8 kB / 18.28 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.8 MB / 246.8 MB, free: 9.688 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1974/0.1974, allocations: 46.18 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002478/0.0002479, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1106, allocations: 63.57 MB / 483.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002218/0.1129, allocations: 1.338 MB / 484.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.1139, allocations: 0.5146 MB / 485 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.114, allocations: 0 / 485 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.1143, allocations: 79.77 kB / 485.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.1145, allocations: 79.8 kB / 485.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.1148, allocations: 79.84 kB / 485.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.115, allocations: 79.75 kB / 485.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1151, allocations: 23.92 kB / 485.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.874e-05/0.1152, allocations: 23.92 kB / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.1153, allocations: 43.83 kB / 485.4 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1153, allocations: 4 kB / 485.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1154, allocations: 43.92 kB / 485.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.1155, allocations: 23.91 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.465e-05/0.1156, allocations: 49.45 kB / 485.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1158, allocations: 99.97 kB / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1158, allocations: 3.984 kB / 485.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1158, allocations: 0 / 485.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1158, allocations: 4 kB / 485.7 MB, free: 1.539 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.0005982/0.1164, allocations: 397.3 kB / 486 MB, free: 1.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1164, allocations: 12.88 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.1165, allocations: 30.75 kB / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.1165, allocations: 12.75 kB / 486.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1167, allocations: 200 kB / 486.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1167, allocations: 4.359 kB / 486.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.1168, allocations: 8.375 kB / 486.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.117, allocations: 57.61 kB / 486.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.117, allocations: 4 kB / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.117, allocations: 0 / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.117, allocations: 0 / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1171, allocations: 27.98 kB / 486.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.1175, allocations: 296.8 kB / 486.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1176, allocations: 46.55 kB / 486.7 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.1176, allocations: 16.86 kB / 486.7 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1177, allocations: 3.984 kB / 486.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1177, allocations: 34.56 kB / 486.8 MB, free: 248 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.1177, allocations: 4 kB / 486.8 MB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001185/0.1189, allocations: 261.1 kB / 487 MB, free: 15.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.119, allocations: 55.34 kB / 487.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.1193, allocations: 207.3 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1193, allocations: 29.7 kB / 487.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1195, allocations: 108.1 kB / 487.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.1195, allocations: 23.56 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.1196, allocations: 17.72 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.1198, allocations: 322.8 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.12, allocations: 23.98 kB / 487.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.1201, allocations: 39.97 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.1204, allocations: 64.83 kB / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1204, allocations: 0 / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003677/0.1208, allocations: 105.6 kB / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1208, allocations: 7.938 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1208, allocations: 3.938 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1209, allocations: 0 / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1211, allocations: 23.98 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1211, allocations: 3.938 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.1212, allocations: 11.98 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1212, allocations: 4 kB / 488.1 MB, free: 14.88 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.00021/0.1214, allocations: 121.8 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.1215, allocations: 15.81 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.122, allocations: 135.3 kB / 488.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1221, allocations: 4 kB / 488.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1221, allocations: 3.938 kB / 488.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1221, allocations: 3.984 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009188/0.123, allocations: 407.3 kB / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.123, allocations: 4.031 kB / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.1232, allocations: 19.94 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1232, allocations: 0 / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.1232, allocations: 11.98 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1232, allocations: 0 / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1232, allocations: 0 / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.1237, allocations: 216.1 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.1238, allocations: 88.95 kB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.1238, allocations: 4 kB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.124, allocations: 11.98 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.124, allocations: 0 / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1241, allocations: 8 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.1243, allocations: 155.9 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1243, allocations: 0 / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.1247, allocations: 20 kB / 489.3 MB, free: 13.57 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.002357/0.1271, allocations: 1.1 MB / 490.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.1275, allocations: 67.95 kB / 490.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1275, allocations: 0 / 490.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.1277, allocations: 35.92 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.1282, allocations: 24.36 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.1311, allocations: 1.681 MB / 492.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1315, allocations: 0.708 MB / 492.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.266e-05/0.1316, allocations: 12.75 kB / 492.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.1317, allocations: 31.36 kB / 492.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1317, allocations: 4 kB / 492.9 MB, free: 9.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.1479, allocations: 2.624 MB / 495.6 MB, free: 7.414 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/0.1481, allocations: 235.9 kB / 495.8 MB, free: 7.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/1.861, allocations: 4 kB / 495.8 MB, free: 7.156 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches