Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test3",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.0009615/0.0009614, allocations: 179.3 kB / 16.72 MB, free: 5.078 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.219/1.219, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007157/0.0007157, allocations: 93.3 kB / 271.2 MB, free: 8.246 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.2846/0.2846, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003772, allocations: 12 kB / 432.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09512, allocations: 58.86 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.001702/0.09686, allocations: 1.313 MB / 492.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005098/0.09739, allocations: 307.9 kB / 492.5 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.09746, allocations: 4 kB / 492.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.09792, allocations: 439.2 kB / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.0982, allocations: 243.5 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.09849, allocations: 95.86 kB / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.09866, allocations: 131.6 kB / 493.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.75e-05/0.09875, allocations: 12.19 kB / 493.4 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.688e-05/0.09885, allocations: 99.8 kB / 493.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.09904, allocations: 171.7 kB / 493.7 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.09907, allocations: 3.984 kB / 493.7 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.351e-05/0.09915, allocations: 28 kB / 493.7 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.401e-05/0.09924, allocations: 79.69 kB / 493.8 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.942e-05/0.09932, allocations: 120.9 kB / 493.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.09951, allocations: 191.9 kB / 494.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.09952, allocations: 0 / 494.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.09953, allocations: 0 / 494.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.09954, allocations: 3.938 kB / 494.1 MB, free: 7.559 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.0005612/0.1001, allocations: 0.595 MB / 494.7 MB, free: 6.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1002, allocations: 15.97 kB / 494.7 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.1002, allocations: 38.75 kB / 494.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.1002, allocations: 44.38 kB / 494.8 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1005, allocations: 296.2 kB / 495.1 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-06/0.1005, allocations: 384 / 495.1 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.1005, allocations: 12.03 kB / 495.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1007, allocations: 57.69 kB / 495.2 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1007, allocations: 7.922 kB / 495.2 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.1007, allocations: 0 / 495.2 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1007, allocations: 4 kB / 495.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.1008, allocations: 43.97 kB / 495.2 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.1012, allocations: 384.7 kB / 495.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.1013, allocations: 54.5 kB / 495.7 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.1014, allocations: 20.94 kB / 495.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.1015, allocations: 11.98 kB / 495.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.1015, allocations: 30.56 kB / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1015, allocations: 4 kB / 495.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007357/0.1022, allocations: 312 kB / 496 MB, free: 5.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.1023, allocations: 51.41 kB / 496.1 MB, free: 5.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/0.103, allocations: 0.873 MB / 497 MB, free: 4.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.103, allocations: 25.7 kB / 497 MB, free: 4.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.1032, allocations: 212 kB / 497.2 MB, free: 4.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.1032, allocations: 23.66 kB / 497.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1032, allocations: 0 / 497.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1033, allocations: 362.8 kB / 497.6 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.1035, allocations: 47.91 kB / 497.6 MB, free: 3.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1036, allocations: 39.97 kB / 497.7 MB, free: 3.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.1038, allocations: 88.81 kB / 497.7 MB, free: 3.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1038, allocations: 0 / 497.7 MB, free: 3.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002861/0.1041, allocations: 165 kB / 497.9 MB, free: 3.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1041, allocations: 4 kB / 497.9 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1041, allocations: 320 / 497.9 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1041, allocations: 4 kB / 497.9 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1042, allocations: 23.98 kB / 497.9 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1043, allocations: 3.938 kB / 497.9 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.1043, allocations: 15.98 kB / 498 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1044, allocations: 3.984 kB / 498 MB, free: 3.5 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 0.0001583/0.1045, allocations: 213.8 kB / 498.2 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.1046, allocations: 39.53 kB / 498.2 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.1049, allocations: 189.3 kB / 498.4 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1049, allocations: 4.281 kB / 498.4 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1049, allocations: 3.938 kB / 498.4 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.105, allocations: 7.938 kB / 498.4 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.1055, allocations: 0.5062 MB / 498.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1055, allocations: 0 / 498.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.119e-05/0.1056, allocations: 27.98 kB / 498.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.1056, allocations: 3.938 kB / 498.9 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1056, allocations: 0 / 498.9 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1057, allocations: 4 kB / 498.9 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1057, allocations: 0 / 498.9 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.106, allocations: 251 kB / 499.2 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.106, allocations: 116.5 kB / 499.3 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.1061, allocations: 7.938 kB / 499.3 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.1062, allocations: 15.98 kB / 499.3 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.1062, allocations: 11.92 kB / 499.3 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1062, allocations: 4 kB / 499.3 MB, free: 2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005281/0.1068, allocations: 0.6511 MB / 500 MB, free: 1.352 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1068, allocations: 0 / 500 MB, free: 1.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.107, allocations: 24 kB / 0.4883 GB, free: 1.328 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.001166/0.1082, allocations: 1.102 MB / 0.4894 GB, free: 252 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.1084, allocations: 95.88 kB / 0.4895 GB, free: 156 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1084, allocations: 0 / 0.4895 GB, free: 156 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.1086, allocations: 47.97 kB / 0.4895 GB, free: 108 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1089, allocations: 29.89 kB / 0.4895 GB, free: 80 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.15/0.2589, allocations: 2.407 MB / 0.4919 GB, free: 42.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2592, allocations: 0.8216 MB / 0.4927 GB, free: 41.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.2594, allocations: 103.3 kB / 0.4928 GB, free: 41.88 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2594, allocations: 2.953 kB / 0.4928 GB, free: 41.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.675/2.934, allocations: 6.59 MB / 0.4992 GB, free: 40.58 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches