Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001183/0.001183, allocations: 103 kB / 17.32 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 209.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, 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.1905/0.1905, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 73.72 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.08937, allocations: 62.45 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002843/0.09225, allocations: 1.673 MB / 481.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.09374, allocations: 1.128 MB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.09382, allocations: 7.938 kB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.09403, allocations: 23.92 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.09432, allocations: 75.8 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.09458, allocations: 75.8 kB / 482.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.09472, allocations: 75.83 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.09481, allocations: 19.98 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.09487, allocations: 31.86 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.09503, allocations: 39.83 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.09505, allocations: 4 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.09521, allocations: 91.94 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.09525, allocations: 19.86 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.0953, allocations: 35.8 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.09552, allocations: 143.9 kB / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.09553, allocations: 0 / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.09553, allocations: 0 / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.09554, allocations: 0 / 483 MB, free: 2.047 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004434/0.09599, allocations: 415.1 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.09604, allocations: 12.03 kB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.09607, allocations: 34.75 kB / 483.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.09612, allocations: 16.77 kB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.09629, allocations: 194.7 kB / 483.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.09631, allocations: 4.375 kB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.09634, allocations: 12.28 kB / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.09651, allocations: 75.33 kB / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.09653, allocations: 3.938 kB / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.09654, allocations: 0 / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.09655, allocations: 0 / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.09666, allocations: 35.97 kB / 483.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.097, allocations: 304.7 kB / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.09711, allocations: 54.56 kB / 484.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.09717, allocations: 20.97 kB / 484.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.09719, allocations: 0 / 484.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.09722, allocations: 38.5 kB / 484.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.09723, allocations: 0 / 484.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005535/0.09778, allocations: 177.3 kB / 484.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.09783, allocations: 77.11 kB / 484.5 MB, free: 412 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.09797, allocations: 153.7 kB / 484.6 MB, free: 248 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.09799, allocations: 29.7 kB / 484.7 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.09804, allocations: 96.12 kB / 484.7 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.09807, allocations: 23.72 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.09812, allocations: 25.7 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.09822, allocations: 326.8 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-05/0.0983, allocations: 19.98 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.09838, allocations: 45.77 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.09853, allocations: 56.83 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.09853, allocations: 0 / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000217/0.09876, allocations: 105.5 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.09878, allocations: 4 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.09879, allocations: 0 / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.0988, allocations: 4.375 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.09891, allocations: 15.98 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.09892, allocations: 3.938 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.09898, allocations: 11.91 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.099, allocations: 11.98 kB / 485.4 MB, free: 15.44 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 7.154e-05/0.09907, allocations: 117.8 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.09911, allocations: 7.906 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.09936, allocations: 122.2 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.09937, allocations: 0 / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.09938, allocations: 3.938 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.09939, allocations: 3.938 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.0998, allocations: 394.8 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.09982, allocations: 3.938 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.09989, allocations: 15.98 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.0999, allocations: 7.938 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.09991, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.09992, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.09992, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.1001, allocations: 203.4 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.1002, allocations: 88.94 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1002, allocations: 4 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.1003, allocations: 4 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1003, allocations: 7.984 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1004, allocations: 7.938 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.183e-05/0.1004, allocations: 117.4 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1004, allocations: 0 / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1007, allocations: 44 kB / 486.5 MB, free: 14.2 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.001392/0.1021, allocations: 1.113 MB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.1023, allocations: 75.81 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1024, allocations: 4 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.1024, allocations: 35.98 kB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.1028, allocations: 23.86 kB / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1042, allocations: 1.531 MB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1045, allocations: 0.6929 MB / 490 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.656e-05/0.1046, allocations: 20.72 kB / 490 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.1046, allocations: 31.42 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1047, allocations: 4 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9908/1.095, allocations: 3.23 MB / 493.3 MB, free: 7.574 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/1.096, allocations: 240.4 kB / 493.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.562/4.657, allocations: 0 / 493.5 MB, free: 7.316 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches