Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",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.001275/0.001275, allocations: 107.1 kB / 15.98 MB, free: 5.898 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.00122/0.00122, allocations: 189.8 kB / 16.9 MB, free: 5.746 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.702/1.702, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2025/0.2025, allocations: 43.51 MB / 313.6 MB, free: 0.6992 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.001283/0.001283, allocations: 62.91 kB / 382.3 MB, free: 56.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08567/0.08697, allocations: 57.79 MB / 440.1 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002725/0.08972, allocations: 1.646 MB / 441.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005153/0.09027, allocations: 327.5 kB / 442.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.09035, allocations: 4 kB / 442.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.09079, allocations: 447.2 kB / 442.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.09111, allocations: 251.5 kB / 442.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.0914, allocations: 103.4 kB / 442.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.09159, allocations: 155.7 kB / 443 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.09169, allocations: 16.11 kB / 443 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.09181, allocations: 111.7 kB / 443.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.09199, allocations: 219.6 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.09201, allocations: 4 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-05/0.09209, allocations: 35.94 kB / 443.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.09218, allocations: 79.69 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.09224, allocations: 107 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.09245, allocations: 247 kB / 443.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.09246, allocations: 0 / 443.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09247, allocations: 0 / 443.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.09248, allocations: 0 / 443.8 MB, free: 3.516 MB / 318.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.000545/0.09303, allocations: 0.6414 MB / 444.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.09308, allocations: 15.89 kB / 444.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.09312, allocations: 34.69 kB / 444.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.09317, allocations: 40.38 kB / 444.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.09336, allocations: 300.2 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.09337, allocations: 4.375 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.0934, allocations: 8.125 kB / 444.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.09352, allocations: 53.67 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.09353, allocations: 4 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.09355, allocations: 0 / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.09355, allocations: 0 / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.09364, allocations: 27.92 kB / 444.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.09396, allocations: 388.6 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.09415, allocations: 50.56 kB / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.0942, allocations: 8.859 kB / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.09423, allocations: 8.078 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.24e-05/0.09425, allocations: 34.5 kB / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.09425, allocations: 3.984 kB / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000493/0.09475, allocations: 223.9 kB / 445.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.09479, allocations: 55.41 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.0953, allocations: 0.8652 MB / 446.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.09532, allocations: 29.7 kB / 446.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.09542, allocations: 224 kB / 446.8 MB, free: 320 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.09544, allocations: 19.81 kB / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.09547, allocations: 17.7 kB / 446.8 MB, free: 276 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.09561, allocations: 358.8 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.118e-05/0.09568, allocations: 23.98 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.496e-05/0.09574, allocations: 19.98 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.09587, allocations: 49.02 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.09587, allocations: 0 / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001869/0.09607, allocations: 117 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.09609, allocations: 8 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.0961, allocations: 0 / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.09611, allocations: 4 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.504e-05/0.09617, allocations: 11.98 kB / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.09619, allocations: 3.938 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.09625, allocations: 4 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.09627, allocations: 4 kB / 447.4 MB, free: 15.66 MB / 334.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 (5): * Single equations (assignments): 5 * 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.0001554/0.09643, allocations: 217.7 kB / 447.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.09649, allocations: 39.44 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.09674, allocations: 141 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.09676, allocations: 0 / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.09677, allocations: 3.938 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.09677, allocations: 0 / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.09726, allocations: 450.5 kB / 448.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.09727, allocations: 0 / 448.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/0.09733, allocations: 23.98 kB / 448.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.09734, allocations: 3.938 kB / 448.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.09735, allocations: 0 / 448.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.09736, allocations: 3.938 kB / 448.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.09736, allocations: 192 / 448.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.09759, allocations: 211 kB / 448.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.09772, allocations: 108.6 kB / 448.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.09775, allocations: 11.94 kB / 448.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.09783, allocations: 4 kB / 448.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.09787, allocations: 7.984 kB / 448.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.09788, allocations: 0 / 448.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005278/0.09842, allocations: 0.655 MB / 449.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09842, allocations: 0 / 449.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.09866, allocations: 23.98 kB / 449.3 MB, free: 13.67 MB / 334.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 (5): * Single equations (assignments): 5 * 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.001264/0.09993, allocations: 1.047 MB / 450.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.1001, allocations: 47.97 kB / 450.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1001, allocations: 0 / 450.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.1002, allocations: 31.92 kB / 450.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1006, allocations: 27.98 kB / 450.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.1038, allocations: 3.285 MB / 453.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.1042, allocations: 0.8297 MB / 454.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.347e-05/0.1043, allocations: 8 kB / 454.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1044, allocations: 107.4 kB / 454.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1044, allocations: 0 / 454.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2223/0.3267, allocations: 5.736 MB / 460.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000374/0.3271, allocations: 234.9 kB / 460.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/2.425, allocations: 0 / 460.7 MB, free: 2.227 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches