Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008218/0.0008221, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.15/1.15, allocations: 205.4 MB / 222.9 MB, free: 9.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006804/0.0006804, allocations: 89.5 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2742/0.2742, allocations: 43.55 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 12 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.08975, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.001671/0.09145, allocations: 1.313 MB / 492.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005309/0.09201, allocations: 303.9 kB / 492.5 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.09207, allocations: 4 kB / 492.5 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.09227, allocations: 35.88 kB / 492.6 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.09241, allocations: 43.83 kB / 492.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.09269, allocations: 95.88 kB / 492.7 MB, free: 9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.09281, allocations: 55.83 kB / 492.8 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.0929, allocations: 12.19 kB / 492.8 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.09295, allocations: 23.86 kB / 492.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.09303, allocations: 43.77 kB / 492.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.09305, allocations: 0 / 492.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.947e-05/0.09313, allocations: 31.98 kB / 492.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.09318, allocations: 11.92 kB / 492.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.09323, allocations: 53.56 kB / 492.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.09335, allocations: 68.06 kB / 493 MB, free: 8.699 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.09336, allocations: 3.984 kB / 493 MB, free: 8.695 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.09337, allocations: 0 / 493 MB, free: 8.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.09338, allocations: 3.938 kB / 493 MB, free: 8.691 MB / 378.7 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.0003931/0.09378, allocations: 387.2 kB / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.09382, allocations: 12.03 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.09386, allocations: 34.75 kB / 493.4 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.09389, allocations: 8.844 kB / 493.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.09405, allocations: 196.7 kB / 493.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.09407, allocations: 7.938 kB / 493.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.09409, allocations: 4 kB / 493.7 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.09424, allocations: 61.67 kB / 493.7 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.09426, allocations: 3.938 kB / 493.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.09427, allocations: 4 kB / 493.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.09428, allocations: 0 / 493.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.09442, allocations: 39.97 kB / 493.8 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.09474, allocations: 292.7 kB / 494 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.09487, allocations: 54.48 kB / 494.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.09495, allocations: 32.94 kB / 494.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.09497, allocations: 0 / 494.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.095, allocations: 30.56 kB / 494.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.09501, allocations: 4 kB / 494.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007329/0.09574, allocations: 249.2 kB / 494.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.09578, allocations: 51.41 kB / 494.5 MB, free: 7.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.09593, allocations: 166.4 kB / 494.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.09595, allocations: 29.7 kB / 494.6 MB, free: 6.848 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.096, allocations: 100 kB / 494.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.09603, allocations: 23.66 kB / 494.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.09604, allocations: 0 / 494.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.09614, allocations: 326.8 kB / 495.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.09625, allocations: 43.91 kB / 495.1 MB, free: 6.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.09636, allocations: 44.05 kB / 495.2 MB, free: 6.309 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.09658, allocations: 88.95 kB / 495.3 MB, free: 6.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.09658, allocations: 0 / 495.3 MB, free: 6.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002634/0.09685, allocations: 129.5 kB / 495.4 MB, free: 6.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.09688, allocations: 11.53 kB / 495.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.09689, allocations: 8 kB / 495.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.0969, allocations: 3.938 kB / 495.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.09702, allocations: 19.98 kB / 495.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.09703, allocations: 4 kB / 495.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.0971, allocations: 11.98 kB / 495.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.09711, allocations: 4 kB / 495.4 MB, free: 6.027 MB / 378.7 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.875e-05/0.0972, allocations: 125.8 kB / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.09723, allocations: 11.84 kB / 495.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.09754, allocations: 146.5 kB / 495.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.09756, allocations: 4 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.09757, allocations: 0 / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.09757, allocations: 3.984 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/0.09804, allocations: 414.3 kB / 496.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.09805, allocations: 0 / 496.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.09814, allocations: 23.98 kB / 496.2 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.09815, allocations: 0 / 496.2 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.09817, allocations: 3.984 kB / 496.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.09818, allocations: 8 kB / 496.2 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.09818, allocations: 4 kB / 496.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.09848, allocations: 227.3 kB / 496.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.09852, allocations: 85.02 kB / 496.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.09854, allocations: 0 / 496.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.09863, allocations: 11.98 kB / 496.5 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.09869, allocations: 15.92 kB / 496.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.0987, allocations: 4 kB / 496.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.134e-05/0.09879, allocations: 139.9 kB / 496.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0988, allocations: 0 / 496.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003853/0.09919, allocations: 20 kB / 496.7 MB, free: 4.699 MB / 378.7 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001185/0.1004, allocations: 1.054 MB / 497.7 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.1007, allocations: 103.9 kB / 497.8 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1007, allocations: 0 / 497.8 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.1008, allocations: 51.97 kB / 497.9 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1011, allocations: 11.86 kB / 497.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1023, allocations: 0.7472 MB / 498.6 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.1026, allocations: 0.7043 MB / 499.3 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.1027, allocations: 27.42 kB / 499.4 MB, free: 1.945 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1027, allocations: 0 / 499.4 MB, free: 1.945 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.596/2.699, allocations: 1.919 MB / 0.4895 GB, free: 24 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches