Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008978/0.0008979, allocations: 91.48 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008525/0.0008525, allocations: 200.1 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1859/0.1859, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002188/0.0002188, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08739/0.08762, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001606/0.08926, allocations: 1.369 MB / 484.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008231/0.0901, allocations: 0.534 MB / 485.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.09015, allocations: 0 / 485.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.09039, allocations: 91.75 kB / 485.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.0906, allocations: 95.77 kB / 485.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.09082, allocations: 83.34 kB / 485.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.09096, allocations: 95.73 kB / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.09106, allocations: 28.27 kB / 485.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.214e-05/0.09112, allocations: 31.86 kB / 485.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.854e-05/0.09122, allocations: 55.81 kB / 485.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.09124, allocations: 0 / 485.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.019e-05/0.09132, allocations: 51.91 kB / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.09137, allocations: 19.92 kB / 485.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.09143, allocations: 61.38 kB / 485.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.09159, allocations: 131.5 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.0916, allocations: 0 / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09161, allocations: 0 / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.09161, allocations: 0 / 485.8 MB, free: 1.414 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.0003812/0.092, allocations: 411 kB / 486.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.09204, allocations: 8.875 kB / 486.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.09207, allocations: 42.73 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.09211, allocations: 16.75 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.09227, allocations: 204.5 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-06/0.09229, allocations: 12.38 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.09231, allocations: 8.375 kB / 486.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.09246, allocations: 69.59 kB / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.09248, allocations: 0 / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.09249, allocations: 4 kB / 486.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.0925, allocations: 4 kB / 486.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.09262, allocations: 39.97 kB / 486.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.09297, allocations: 340.5 kB / 486.9 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.0931, allocations: 66.55 kB / 487 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.09316, allocations: 28.84 kB / 487 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.09319, allocations: 4 kB / 487 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.09323, allocations: 38.44 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.09324, allocations: 0 / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009841/0.09422, allocations: 345.4 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.09426, allocations: 59.41 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.09448, allocations: 231.5 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.0945, allocations: 33.7 kB / 487.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.09456, allocations: 104.1 kB / 487.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.0946, allocations: 43.36 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.09463, allocations: 13.72 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.09473, allocations: 330.8 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.814e-05/0.09483, allocations: 43.97 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.083e-05/0.09493, allocations: 39.98 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.09513, allocations: 104.8 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.09514, allocations: 0 / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002579/0.0954, allocations: 149 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.09542, allocations: 4 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.09543, allocations: 0 / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.09545, allocations: 7.938 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.09557, allocations: 31.97 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.09558, allocations: 3.938 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.09564, allocations: 12 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.09566, allocations: 8.094 kB / 488.6 MB, free: 14.38 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 9.114e-05/0.09575, allocations: 137.7 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.09579, allocations: 15.81 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.09613, allocations: 175.1 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.09614, allocations: 0 / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.09615, allocations: 0 / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.09616, allocations: 0 / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005559/0.09672, allocations: 499 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.09673, allocations: 0 / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.735e-05/0.09683, allocations: 35.97 kB / 489.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.09684, allocations: 0 / 489.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.09686, allocations: 8.031 kB / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.09687, allocations: 0 / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.09687, allocations: 0 / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.09716, allocations: 256 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.09722, allocations: 93 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.09724, allocations: 4 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.002e-05/0.09732, allocations: 4 kB / 489.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.09736, allocations: 11.98 kB / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.09738, allocations: 8 kB / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.09751, allocations: 177.2 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09752, allocations: 3.938 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.09778, allocations: 27.91 kB / 490 MB, free: 12.84 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.001366/0.09915, allocations: 1.116 MB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.0994, allocations: 111.6 kB / 491.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.09941, allocations: 0 / 491.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.09953, allocations: 63.84 kB / 491.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.09985, allocations: 19.98 kB / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.1017, allocations: 1.908 MB / 493.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1019, allocations: 0.7274 MB / 494 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.102, allocations: 16.53 kB / 494 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.1021, allocations: 47.42 kB / 494 MB, free: 8.863 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1021, allocations: 0 / 494 MB, free: 8.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.1139, allocations: 3.059 MB / 497.1 MB, free: 5.914 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.1141, allocations: 233.7 kB / 497.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/1.768, allocations: 0 / 497.3 MB, free: 5.656 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches