Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_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.001036/0.001036, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.225/1.225, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006948/0.0006948, allocations: 98.33 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.2801/0.2801, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003789, allocations: 12 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09724, allocations: 58.86 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.001825/0.0991, allocations: 1.309 MB / 492.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005751/0.09971, allocations: 319.8 kB / 492.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.09979, allocations: 4 kB / 492.6 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.1, allocations: 43.81 kB / 492.6 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.1002, allocations: 39.89 kB / 492.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.1005, allocations: 143.8 kB / 492.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1007, allocations: 63.77 kB / 492.8 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.1008, allocations: 23.84 kB / 492.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.1009, allocations: 35.83 kB / 492.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.1009, allocations: 23.92 kB / 492.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.101, allocations: 4 kB / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.668e-05/0.101, allocations: 23.92 kB / 492.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.1011, allocations: 19.97 kB / 493 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.1012, allocations: 49.52 kB / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.1013, allocations: 76.05 kB / 493.1 MB, free: 8.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1013, allocations: 4 kB / 493.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1013, allocations: 4 kB / 493.1 MB, free: 8.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1013, allocations: 0 / 493.1 MB, free: 8.598 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.0004377/0.1018, allocations: 387.2 kB / 493.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1018, allocations: 8.031 kB / 493.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.1019, allocations: 38.73 kB / 493.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.1019, allocations: 12.75 kB / 493.5 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.1021, allocations: 200.7 kB / 493.7 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1021, allocations: 8.125 kB / 493.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1021, allocations: 8 kB / 493.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1023, allocations: 61.66 kB / 493.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.1023, allocations: 0 / 493.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1023, allocations: 4 kB / 493.8 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1023, allocations: 4 kB / 493.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1025, allocations: 47.91 kB / 493.9 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.1029, allocations: 316.7 kB / 494.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.103, allocations: 50.56 kB / 494.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.693e-05/0.1031, allocations: 28.94 kB / 494.2 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1032, allocations: 0 / 494.2 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1032, allocations: 42.48 kB / 494.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1032, allocations: 4 kB / 494.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007931/0.104, allocations: 261.1 kB / 494.5 MB, free: 6.969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1041, allocations: 63.27 kB / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1042, allocations: 174.5 kB / 494.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1042, allocations: 25.7 kB / 494.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.1043, allocations: 100.1 kB / 494.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.1043, allocations: 23.66 kB / 494.9 MB, free: 6.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.1043, allocations: 0 / 494.9 MB, free: 6.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1045, allocations: 322.8 kB / 495.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.1046, allocations: 47.97 kB / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.1047, allocations: 39.97 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.1049, allocations: 112.8 kB / 495.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.105, allocations: 0 / 495.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002932/0.1053, allocations: 145.4 kB / 495.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1053, allocations: 4 kB / 495.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1053, allocations: 0 / 495.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1053, allocations: 0 / 495.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1054, allocations: 31.92 kB / 495.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1054, allocations: 7.984 kB / 495.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.1055, allocations: 15.91 kB / 495.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.1055, allocations: 0 / 495.6 MB, free: 5.824 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 9.307e-05/0.1056, allocations: 121.8 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.1057, allocations: 7.906 kB / 495.8 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.106, allocations: 162.6 kB / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.106, allocations: 3.938 kB / 495.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.106, allocations: 4 kB / 495.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1061, allocations: 0 / 495.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.1066, allocations: 430.5 kB / 496.3 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1066, allocations: 8 kB / 496.4 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/0.1067, allocations: 27.86 kB / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1067, allocations: 0 / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1067, allocations: 4 kB / 496.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1067, allocations: 0 / 496.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1067, allocations: 0 / 496.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1071, allocations: 235.4 kB / 496.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.1071, allocations: 88.95 kB / 496.7 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.1071, allocations: 7.984 kB / 496.7 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.1072, allocations: 15.94 kB / 496.7 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.1073, allocations: 7.984 kB / 496.7 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1073, allocations: 0 / 496.7 MB, free: 4.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.464e-05/0.1074, allocations: 140 kB / 496.9 MB, free: 4.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1074, allocations: 0 / 496.9 MB, free: 4.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.1076, allocations: 16 kB / 496.9 MB, free: 4.469 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.001244/0.1089, allocations: 1.083 MB / 498 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.1092, allocations: 107.9 kB / 498.1 MB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1092, allocations: 0 / 498.1 MB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.1093, allocations: 55.95 kB / 498.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.1097, allocations: 8 kB / 498.1 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.1109, allocations: 0.7982 MB / 498.9 MB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.1112, allocations: 0.7122 MB / 499.6 MB, free: 1.648 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.1112, allocations: 27.42 kB / 499.7 MB, free: 1.621 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1113, allocations: 0 / 499.7 MB, free: 1.621 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.715/2.827, allocations: 2.013 MB / 0.4899 GB, free: 42.62 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches