Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30",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.0007833/0.0007833, allocations: 175.6 kB / 16.72 MB, free: 5.051 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.195/1.195, 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.0006893/0.0006893, allocations: 91.8 kB / 271.2 MB, free: 8.242 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.2665/0.2665, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 15.98 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0888/0.08914, allocations: 58.83 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001533/0.09071, allocations: 1.259 MB / 492.2 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004485/0.09117, allocations: 299.7 kB / 492.5 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.09122, allocations: 0 / 492.5 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.09143, allocations: 75.83 kB / 492.5 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.09157, allocations: 55.88 kB / 492.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.09176, allocations: 59.86 kB / 492.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.09188, allocations: 63.81 kB / 492.7 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.396e-05/0.09196, allocations: 11.98 kB / 492.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.396e-05/0.09201, allocations: 27.91 kB / 492.8 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.09209, allocations: 39.83 kB / 492.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.09211, allocations: 4 kB / 492.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.976e-05/0.09217, allocations: 31.98 kB / 492.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.09222, allocations: 23.91 kB / 492.9 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.09227, allocations: 49.52 kB / 492.9 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.782e-05/0.09237, allocations: 60.19 kB / 493 MB, free: 8.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.09238, allocations: 4 kB / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09239, allocations: 0 / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.0924, allocations: 0 / 493 MB, free: 8.727 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003596/0.09276, allocations: 387 kB / 493.3 MB, free: 8.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.0928, allocations: 16.03 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.09284, allocations: 34.75 kB / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.09287, allocations: 12.84 kB / 493.4 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.09302, allocations: 200 kB / 493.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-06/0.09304, allocations: 4.375 kB / 493.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.09306, allocations: 384 / 493.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.09317, allocations: 49.62 kB / 493.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.09319, allocations: 0 / 493.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.0932, allocations: 0 / 493.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.09321, allocations: 8 kB / 493.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.659e-05/0.0933, allocations: 27.97 kB / 493.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.09359, allocations: 280.8 kB / 494 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.09376, allocations: 46.56 kB / 494 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.624e-05/0.09381, allocations: 16.86 kB / 494 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.09383, allocations: 0 / 494 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.09386, allocations: 34.64 kB / 494.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.09386, allocations: 0 / 494.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004974/0.09436, allocations: 165.1 kB / 494.2 MB, free: 7.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.0944, allocations: 51.41 kB / 494.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.09457, allocations: 202.2 kB / 494.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.09459, allocations: 25.7 kB / 494.5 MB, free: 6.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.09465, allocations: 104.1 kB / 494.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.09467, allocations: 19.72 kB / 494.6 MB, free: 6.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.09468, allocations: 0 / 494.6 MB, free: 6.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.09478, allocations: 330.7 kB / 494.9 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.09485, allocations: 23.92 kB / 495 MB, free: 6.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.09492, allocations: 27.98 kB / 495 MB, free: 6.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.09504, allocations: 52.83 kB / 495 MB, free: 6.426 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.09505, allocations: 0 / 495 MB, free: 6.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001608/0.09522, allocations: 85.58 kB / 495.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.09524, allocations: 11.59 kB / 495.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.09525, allocations: 0 / 495.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.09526, allocations: 0 / 495.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.09533, allocations: 23.86 kB / 495.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.09534, allocations: 0 / 495.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.09538, allocations: 8 kB / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.09539, allocations: 3.938 kB / 495.2 MB, free: 6.293 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 (5): * Single equations (assignments): 5 * 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.509e-05/0.09547, allocations: 129.8 kB / 495.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.09551, allocations: 7.906 kB / 495.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.09572, allocations: 102.2 kB / 495.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.09573, allocations: 0 / 495.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.09574, allocations: 4 kB / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.09575, allocations: 0 / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.09612, allocations: 370.4 kB / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.09614, allocations: 0 / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.157e-05/0.09619, allocations: 16.27 kB / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.0962, allocations: 4 kB / 495.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.09621, allocations: 0 / 495.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.09622, allocations: 7.938 kB / 495.8 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.09623, allocations: 0 / 495.8 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.09643, allocations: 195.3 kB / 496 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.09649, allocations: 85 kB / 496.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.09651, allocations: 4 kB / 496.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.09658, allocations: 7.938 kB / 496.1 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.09661, allocations: 7.984 kB / 496.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.09662, allocations: 4 kB / 496.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.09673, allocations: 164 kB / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09674, allocations: 0 / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.09695, allocations: 8 kB / 496.3 MB, free: 5.094 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 (5): * Single equations (assignments): 5 * 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.001066/0.09802, allocations: 1.023 MB / 497.3 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.0982, allocations: 55.97 kB / 497.3 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.09821, allocations: 0 / 497.3 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.864e-05/0.09829, allocations: 27.98 kB / 497.4 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.09857, allocations: 19.94 kB / 497.4 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009384/0.09951, allocations: 0.7072 MB / 498.1 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.09976, allocations: 0.7004 MB / 498.8 MB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.09983, allocations: 27.42 kB / 498.8 MB, free: 2.473 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.09983, allocations: 11.88 kB / 498.8 MB, free: 2.461 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.577/2.677, allocations: 1.872 MB / 0.489 GB, free: 0.5859 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches