Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009208/0.009208, allocations: 101.1 kB / 15.87 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 191.4 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 222.6 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2759/0.2759, allocations: 43.5 MB / 313.5 MB, free: 8.508 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 66.56 kB / 382.1 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/0.08861, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.002308/0.09095, allocations: 1.629 MB / 441.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000462/0.09143, allocations: 307.7 kB / 441.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.09147, allocations: 4 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.09189, allocations: 447.2 kB / 442.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.09213, allocations: 239.6 kB / 442.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.09235, allocations: 103.8 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.0925, allocations: 151.7 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.573e-05/0.09257, allocations: 8 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.09265, allocations: 103.8 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.09282, allocations: 203.6 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.09285, allocations: 4 kB / 443.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.994e-05/0.0929, allocations: 20 kB / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.972e-05/0.09299, allocations: 83.62 kB / 443.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.09305, allocations: 91.06 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.09324, allocations: 243.2 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.09325, allocations: 0 / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.09326, allocations: 4 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.09326, allocations: 0 / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006615/0.09393, allocations: 0.6219 MB / 444.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.09397, allocations: 12.03 kB / 444.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.438e-05/0.094, allocations: 34.75 kB / 444.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.09405, allocations: 40.38 kB / 444.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.09426, allocations: 296.2 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.09427, allocations: 4.312 kB / 444.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-06/0.09428, allocations: 4.312 kB / 444.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.09439, allocations: 49.62 kB / 444.6 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.09441, allocations: 0 / 444.6 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.09442, allocations: 4 kB / 444.6 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.09443, allocations: 4 kB / 444.6 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.076e-05/0.09451, allocations: 27.91 kB / 444.6 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.09486, allocations: 372.7 kB / 445 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.319e-05/0.09495, allocations: 38.48 kB / 445 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.09499, allocations: 8.922 kB / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.09502, allocations: 8 kB / 445 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.09504, allocations: 38.55 kB / 445.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.09505, allocations: 0 / 445.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002174/0.09527, allocations: 97.06 kB / 445.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.09531, allocations: 51.41 kB / 445.2 MB, free: 9.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009961/0.09631, allocations: 0.8652 MB / 446.1 MB, free: 8.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.09633, allocations: 29.83 kB / 446.1 MB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.09651, allocations: 216.1 kB / 446.3 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.09654, allocations: 11.83 kB / 446.3 MB, free: 8.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.09657, allocations: 17.72 kB / 446.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.09682, allocations: 358.7 kB / 446.7 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.09686, allocations: 7.984 kB / 446.7 MB, free: 7.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.0969, allocations: 12 kB / 446.7 MB, free: 7.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.09697, allocations: 28.91 kB / 446.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.09698, allocations: 0 / 446.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/0.09711, allocations: 85.16 kB / 446.8 MB, free: 7.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.09713, allocations: 8 kB / 446.8 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.09714, allocations: 0 / 446.8 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.09715, allocations: 0 / 446.8 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.796e-05/0.09721, allocations: 11.98 kB / 446.8 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.09722, allocations: 0 / 446.8 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.09728, allocations: 8.031 kB / 446.8 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.09729, allocations: 0 / 446.8 MB, free: 7.551 MB / 382.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 (2): * Single equations (assignments): 2 * 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.000194/0.09749, allocations: 213.7 kB / 447.1 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.09754, allocations: 39.44 kB / 447.1 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.09771, allocations: 104.6 kB / 447.2 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.09773, allocations: 0 / 447.2 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.09773, allocations: 7.875 kB / 447.2 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.09774, allocations: 0 / 447.2 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.09798, allocations: 289.5 kB / 447.5 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.09799, allocations: 0 / 447.5 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.09802, allocations: 4 kB / 447.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.09803, allocations: 0 / 447.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.09804, allocations: 0 / 447.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.09805, allocations: 0 / 447.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.09805, allocations: 0 / 447.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.09825, allocations: 194.9 kB / 447.7 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.09837, allocations: 108.6 kB / 447.8 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.0984, allocations: 7.922 kB / 447.8 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.09847, allocations: 0 / 447.8 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.0985, allocations: 4 kB / 447.8 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.09851, allocations: 0 / 447.8 MB, free: 6.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000703/0.09922, allocations: 0.655 MB / 448.5 MB, free: 5.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.09922, allocations: 0 / 448.5 MB, free: 5.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000229/0.09946, allocations: 27.88 kB / 448.5 MB, free: 5.816 MB / 382.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 (2): * Single equations (assignments): 2 * 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.02546/0.1249, allocations: 0.9698 MB / 449.5 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.1251, allocations: 15.98 kB / 449.5 MB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1252, allocations: 0 / 449.5 MB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/0.1252, allocations: 19.88 kB / 449.5 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.1257, allocations: 29.89 kB / 449.5 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.1287, allocations: 3.201 MB / 452.7 MB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.129, allocations: 0.8185 MB / 453.5 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.514e-05/0.1291, allocations: 12.06 kB / 453.5 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.1292, allocations: 111.4 kB / 453.7 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1292, allocations: 0 / 453.7 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.147/1.277, allocations: 5.397 MB / 459.1 MB, free: 48.1 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/1.277, allocations: 234.8 kB / 459.3 MB, free: 47.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/4.189, allocations: 2.875 kB / 459.3 MB, free: 47.85 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches