Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, 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.001187/0.001187, 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.178/1.178, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1882/0.1882, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 75.42 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09579/0.09703, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002659/0.09972, allocations: 1.65 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008527/0.1006, allocations: 0.5454 MB / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.1006, allocations: 0 / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.1009, allocations: 95.67 kB / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1012, allocations: 111.6 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1014, allocations: 95.69 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.1016, allocations: 99.73 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1017, allocations: 28.25 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.1017, allocations: 47.83 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.229e-05/0.1018, allocations: 51.83 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1019, allocations: 8 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.448e-05/0.1019, allocations: 47.97 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.102, allocations: 27.92 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.102, allocations: 39.69 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1022, allocations: 131.5 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1022, allocations: 0 / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1022, allocations: 0 / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1022, allocations: 4 kB / 483.1 MB, free: 2.199 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004372/0.1027, allocations: 430.9 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1027, allocations: 8.031 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.1028, allocations: 42.73 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.1028, allocations: 12.75 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.103, allocations: 204 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.103, allocations: 4.375 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.103, allocations: 8.312 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1032, allocations: 77.59 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1032, allocations: 4 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.1032, allocations: 0 / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1032, allocations: 0 / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1033, allocations: 39.97 kB / 483.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.1037, allocations: 340.5 kB / 484.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1038, allocations: 70.48 kB / 484.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.1039, allocations: 20.84 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1039, allocations: 4 kB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.1039, allocations: 34.56 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1039, allocations: 0 / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009181/0.1049, allocations: 321.3 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.1049, allocations: 51.41 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1051, allocations: 240.3 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1051, allocations: 25.7 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.1052, allocations: 116.1 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.1053, allocations: 39.45 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.1053, allocations: 25.72 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.1054, allocations: 326.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.922e-05/0.1055, allocations: 35.98 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.1056, allocations: 39.97 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.1058, allocations: 96.33 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1058, allocations: 4 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002297/0.106, allocations: 133.4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.106, allocations: 8 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1061, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1061, allocations: 3.938 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1062, allocations: 27.98 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1062, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.1062, allocations: 7.984 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.1063, allocations: 8 kB / 485.8 MB, free: 15.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 (13): * Single equations (assignments): 13 * 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.849e-05/0.1064, allocations: 141.8 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.1064, allocations: 19.75 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.1067, allocations: 163.1 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1067, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1067, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1067, allocations: 8 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005331/0.1073, allocations: 483 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1073, allocations: 0 / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.119e-05/0.1074, allocations: 23.98 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1074, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1074, allocations: 12.03 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1074, allocations: 0 / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1074, allocations: 0 / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.1077, allocations: 252.1 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.1077, allocations: 92.86 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1078, allocations: 4 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.1078, allocations: 8 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.1079, allocations: 11.92 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1079, allocations: 8 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.108, allocations: 181.2 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.108, allocations: 0 / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.1083, allocations: 28 kB / 487.3 MB, free: 13.7 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 (13): * Single equations (assignments): 13 * 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.001319/0.1096, allocations: 1.119 MB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.1099, allocations: 103.8 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1099, allocations: 4 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.799e-05/0.11, allocations: 51.92 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.1103, allocations: 19.97 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.1121, allocations: 1.841 MB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1123, allocations: 0.7158 MB / 491.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.208e-05/0.1124, allocations: 16.55 kB / 491.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.1125, allocations: 39.42 kB / 491.2 MB, free: 9.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1125, allocations: 3.938 kB / 491.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.729/1.842, allocations: 3.429 MB / 494.6 MB, free: 6.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.976/10.82, allocations: 12.09 kB / 494.6 MB, free: 6.438 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches