Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test26",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.0008289/0.0008286, allocations: 173.5 kB / 16.72 MB, free: 5.082 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.146/1.146, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007227/0.0007228, allocations: 80.34 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.2691/0.2691, allocations: 43.57 MB / 363.1 MB, free: 52.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 12 kB / 432.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.09529, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test26): time 0.001689/0.09703, allocations: 1.309 MB / 492.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004696/0.09751, allocations: 315.8 kB / 492.5 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.09756, allocations: 0 / 492.5 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.09775, allocations: 43.88 kB / 492.6 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.0979, allocations: 47.83 kB / 492.6 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.09819, allocations: 99.86 kB / 492.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.09831, allocations: 55.83 kB / 492.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/0.0984, allocations: 16.17 kB / 492.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.664e-05/0.09845, allocations: 27.86 kB / 492.8 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.09853, allocations: 31.83 kB / 492.9 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.09855, allocations: 4 kB / 492.9 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.09863, allocations: 28 kB / 492.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.09869, allocations: 19.92 kB / 492.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.09873, allocations: 49.5 kB / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.09886, allocations: 76.05 kB / 493 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.09887, allocations: 0 / 493 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09888, allocations: 0 / 493 MB, free: 8.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.09889, allocations: 3.938 kB / 493 MB, free: 8.648 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.0004516/0.09934, allocations: 391.2 kB / 493.4 MB, free: 8.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.09939, allocations: 16.03 kB / 493.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.09942, allocations: 34.75 kB / 493.5 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.09946, allocations: 12.75 kB / 493.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.09962, allocations: 200 kB / 493.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.09964, allocations: 384 / 493.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.09967, allocations: 12.06 kB / 493.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.09982, allocations: 61.66 kB / 493.8 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.09984, allocations: 0 / 493.8 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.09985, allocations: 4 kB / 493.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.09987, allocations: 4 kB / 493.8 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.1, allocations: 43.97 kB / 493.8 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.1003, allocations: 296.8 kB / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.1004, allocations: 50.5 kB / 494.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.1005, allocations: 28.94 kB / 494.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1005, allocations: 0 / 494.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.1006, allocations: 34.56 kB / 494.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1006, allocations: 0 / 494.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000704/0.1013, allocations: 237.1 kB / 494.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.1013, allocations: 55.41 kB / 494.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.1015, allocations: 190.2 kB / 494.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.1015, allocations: 25.7 kB / 494.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.1016, allocations: 100 kB / 494.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.1016, allocations: 31.7 kB / 494.8 MB, free: 6.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.1016, allocations: 0 / 494.8 MB, free: 6.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1017, allocations: 322.8 kB / 495.1 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1018, allocations: 43.91 kB / 495.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.905e-05/0.1019, allocations: 39.98 kB / 495.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.1022, allocations: 92.73 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1022, allocations: 0 / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002656/0.1024, allocations: 129.5 kB / 495.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1025, allocations: 4 kB / 495.4 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1025, allocations: 0 / 495.4 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1025, allocations: 0 / 495.4 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1026, allocations: 27.98 kB / 495.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1026, allocations: 3.938 kB / 495.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.1027, allocations: 15.98 kB / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.1027, allocations: 0 / 495.5 MB, free: 5.961 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.842e-05/0.1028, allocations: 125.8 kB / 495.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1028, allocations: 7.906 kB / 495.6 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.1031, allocations: 154.6 kB / 495.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1031, allocations: 4.219 kB / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1032, allocations: 7.938 kB / 495.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1032, allocations: 0 / 495.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.1037, allocations: 406.5 kB / 496.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1037, allocations: 3.984 kB / 496.2 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.1038, allocations: 19.98 kB / 496.2 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1038, allocations: 7.938 kB / 496.2 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.1038, allocations: 0 / 496.2 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1038, allocations: 4 kB / 496.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1038, allocations: 0 / 496.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.1041, allocations: 235.2 kB / 496.4 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.1041, allocations: 93.02 kB / 496.5 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1042, allocations: 3.938 kB / 496.5 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.1043, allocations: 15.98 kB / 496.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1043, allocations: 11.98 kB / 496.6 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1043, allocations: 0 / 496.6 MB, free: 4.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.1044, allocations: 143.9 kB / 496.7 MB, free: 4.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1044, allocations: 4 kB / 496.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.1047, allocations: 12 kB / 496.7 MB, free: 4.625 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.001157/0.1058, allocations: 1.067 MB / 497.8 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.1061, allocations: 91.94 kB / 497.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1061, allocations: 0 / 497.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.1062, allocations: 51.97 kB / 497.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1065, allocations: 15.92 kB / 498 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1077, allocations: 0.7722 MB / 498.7 MB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.108, allocations: 0.7004 MB / 499.4 MB, free: 1.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.108, allocations: 35.42 kB / 499.5 MB, free: 1.832 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.108, allocations: 0 / 499.5 MB, free: 1.832 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.733/2.841, allocations: 1.968 MB / 0.4897 GB, free: 42.41 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches