Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.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.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4",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.001022/0.001022, allocations: 175.2 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.165/1.165, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0007199/0.0007198, allocations: 95.69 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.2739/0.2739, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 20 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09054/0.09091, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.001751/0.09269, allocations: 1.271 MB / 492.2 MB, free: 9.504 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005334/0.09326, allocations: 311.8 kB / 492.5 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.09333, allocations: 7.938 kB / 492.5 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.09359, allocations: 83.81 kB / 492.6 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.09376, allocations: 59.86 kB / 492.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.09402, allocations: 87.83 kB / 492.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.09417, allocations: 71.75 kB / 492.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.09427, allocations: 24.16 kB / 492.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.254e-05/0.09434, allocations: 31.91 kB / 492.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.525e-05/0.09444, allocations: 43.83 kB / 492.9 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.09446, allocations: 4 kB / 492.9 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.428e-05/0.09454, allocations: 27.97 kB / 492.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.0946, allocations: 23.92 kB / 493 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.09465, allocations: 53.45 kB / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.09479, allocations: 80.16 kB / 493.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.0948, allocations: 0 / 493.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0948, allocations: 0 / 493.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.09481, allocations: 0 / 493.1 MB, free: 8.602 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004112/0.09523, allocations: 406.9 kB / 493.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.09528, allocations: 8.031 kB / 493.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.09532, allocations: 42.75 kB / 493.5 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.09536, allocations: 12.75 kB / 493.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.09554, allocations: 200 kB / 493.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.09556, allocations: 8.375 kB / 493.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.09558, allocations: 4.125 kB / 493.8 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.09576, allocations: 79.39 kB / 493.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.09578, allocations: 0 / 493.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.09579, allocations: 0 / 493.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.0958, allocations: 3.984 kB / 493.8 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.09592, allocations: 47.91 kB / 493.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.09637, allocations: 401 kB / 494.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.09664, allocations: 89.16 kB / 494.4 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.901e-05/0.09672, allocations: 29.8 kB / 494.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.09675, allocations: 0 / 494.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.09678, allocations: 42.5 kB / 494.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.09679, allocations: 4 kB / 494.4 MB, free: 7.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006977/0.09749, allocations: 249.4 kB / 494.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.09755, allocations: 88.98 kB / 494.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.09775, allocations: 234.3 kB / 495 MB, free: 6.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.09778, allocations: 29.7 kB / 495 MB, free: 6.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.09784, allocations: 107.9 kB / 495.1 MB, free: 6.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.09788, allocations: 31.55 kB / 495.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.09789, allocations: 7.938 kB / 495.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.098, allocations: 322.8 kB / 495.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.404e-05/0.0981, allocations: 43.97 kB / 495.5 MB, free: 5.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.759e-05/0.0982, allocations: 49.69 kB / 495.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.09839, allocations: 101.6 kB / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.0984, allocations: 0 / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002298/0.09863, allocations: 129.5 kB / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.09865, allocations: 7.125 kB / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.09866, allocations: 0 / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.09868, allocations: 256 / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.09878, allocations: 31.92 kB / 495.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.09879, allocations: 7.938 kB / 495.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.09885, allocations: 12 kB / 495.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.09886, allocations: 3.984 kB / 495.9 MB, free: 5.562 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.888e-05/0.09897, allocations: 133.8 kB / 496 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.09902, allocations: 11.81 kB / 496 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.09933, allocations: 158.5 kB / 496.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.09935, allocations: 0 / 496.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.09936, allocations: 3.938 kB / 496.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.09936, allocations: 0 / 496.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.09994, allocations: 0.5181 MB / 496.7 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.09995, allocations: 3.938 kB / 496.7 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.982e-05/0.1, allocations: 19.98 kB / 496.7 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1, allocations: 4 kB / 496.7 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1001, allocations: 4.031 kB / 496.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1001, allocations: 0 / 496.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1001, allocations: 4 kB / 496.7 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1004, allocations: 311.4 kB / 497 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.1004, allocations: 88.95 kB / 497.1 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1004, allocations: 192 / 497.1 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.1006, allocations: 20.27 kB / 497.1 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.1006, allocations: 7.984 kB / 497.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.1006, allocations: 4 kB / 497.1 MB, free: 4.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.1007, allocations: 172.2 kB / 497.3 MB, free: 3.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1007, allocations: 0 / 497.3 MB, free: 3.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.101, allocations: 35.92 kB / 497.3 MB, free: 3.957 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001225/0.1022, allocations: 1.133 MB / 498.5 MB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.1025, allocations: 95.81 kB / 498.6 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1025, allocations: 0 / 498.6 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.942e-05/0.1026, allocations: 56.17 kB / 498.6 MB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.103, allocations: 15.98 kB / 498.6 MB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1042, allocations: 0.9065 MB / 499.5 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1045, allocations: 0.7043 MB / 0.4885 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.1046, allocations: 39.42 kB / 0.4886 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1046, allocations: 0 / 0.4886 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.776/2.88, allocations: 2.245 MB / 0.4908 GB, free: 42.33 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches