Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test28",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.0007657/0.0007657, allocations: 173.7 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.157/1.157, 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.0007338/0.0007337, allocations: 90.34 kB / 271.2 MB, free: 8.25 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.2911/0.2911, allocations: 43.57 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09669, allocations: 58.86 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.001625/0.09836, allocations: 1.317 MB / 492.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004599/0.09883, allocations: 299.8 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.09888, allocations: 0 / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.09907, allocations: 51.86 kB / 492.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.09921, allocations: 43.89 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.09947, allocations: 111.8 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.09959, allocations: 55.83 kB / 492.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.09968, allocations: 8.188 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.09974, allocations: 31.84 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.817e-05/0.09982, allocations: 31.91 kB / 492.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.09984, allocations: 4 kB / 492.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.445e-05/0.09991, allocations: 23.98 kB / 492.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.09997, allocations: 23.91 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.1, allocations: 49.52 kB / 493 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1002, allocations: 76.05 kB / 493 MB, free: 8.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1002, allocations: 0 / 493 MB, free: 8.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1002, allocations: 7.938 kB / 493 MB, free: 8.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1002, allocations: 0 / 493 MB, free: 8.41 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.0004671/0.1007, allocations: 395.1 kB / 493.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1007, allocations: 12.03 kB / 493.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1008, allocations: 30.75 kB / 493.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.1008, allocations: 12.84 kB / 493.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.101, allocations: 200 kB / 493.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.101, allocations: 384 / 493.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.101, allocations: 12.12 kB / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1012, allocations: 61.61 kB / 493.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1012, allocations: 0 / 493.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1012, allocations: 8 kB / 493.8 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1012, allocations: 0 / 493.8 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1014, allocations: 39.97 kB / 493.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.1018, allocations: 296.8 kB / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1019, allocations: 50.48 kB / 494.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.688e-05/0.102, allocations: 28.94 kB / 494.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.102, allocations: 0 / 494.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1021, allocations: 38.56 kB / 494.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1021, allocations: 0 / 494.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007736/0.1028, allocations: 241.2 kB / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1029, allocations: 59.41 kB / 494.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1031, allocations: 194.1 kB / 494.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1031, allocations: 29.64 kB / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.1031, allocations: 100.1 kB / 494.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.1032, allocations: 23.64 kB / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.1032, allocations: 0 / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1033, allocations: 326.8 kB / 495.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1034, allocations: 47.97 kB / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1035, allocations: 35.97 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.1038, allocations: 88.81 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1038, allocations: 0 / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002774/0.1041, allocations: 141.7 kB / 495.5 MB, free: 5.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.1041, allocations: 4 kB / 495.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1041, allocations: 288 / 495.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1041, allocations: 0 / 495.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1042, allocations: 27.98 kB / 495.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1042, allocations: 3.938 kB / 495.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.283e-05/0.1043, allocations: 11.98 kB / 495.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1043, allocations: 4 kB / 495.5 MB, free: 5.711 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 8.727e-05/0.1044, allocations: 125.8 kB / 495.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.1044, allocations: 15.8 kB / 495.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.1048, allocations: 146.3 kB / 495.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1048, allocations: 0 / 495.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1048, allocations: 7.938 kB / 495.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1048, allocations: 0 / 495.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/0.1053, allocations: 414.5 kB / 496.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1053, allocations: 0 / 496.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.106e-05/0.1054, allocations: 19.98 kB / 496.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1054, allocations: 7.938 kB / 496.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1054, allocations: 7.984 kB / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1055, allocations: 0 / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1055, allocations: 0 / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.1058, allocations: 219.4 kB / 496.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.1058, allocations: 85.02 kB / 496.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.1058, allocations: 11.92 kB / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.633e-05/0.106, allocations: 16 kB / 496.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.106, allocations: 11.92 kB / 496.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.106, allocations: 0 / 496.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1061, allocations: 144.1 kB / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1061, allocations: 0 / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002279/0.1064, allocations: 23.91 kB / 496.7 MB, free: 4.379 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.001221/0.1076, allocations: 1.067 MB / 497.8 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.1079, allocations: 95.88 kB / 497.9 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1079, allocations: 0 / 497.9 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.108, allocations: 51.97 kB / 498 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.1083, allocations: 11.98 kB / 498 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1095, allocations: 0.8012 MB / 498.8 MB, free: 2.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1098, allocations: 0.7004 MB / 499.5 MB, free: 1.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.1099, allocations: 35.42 kB / 499.5 MB, free: 1.559 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.1099, allocations: 0 / 499.5 MB, free: 1.559 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.765/2.875, allocations: 1.998 MB / 0.4897 GB, free: 42.39 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches