Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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.00104/0.00104, 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.157/1.157, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0006868/0.0006868, allocations: 90.34 kB / 271.2 MB, free: 8.254 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.2876/0.2876, allocations: 43.55 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003829, allocations: 15.94 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09497, allocations: 58.84 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001581/0.0966, allocations: 1.259 MB / 492.2 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000479/0.09709, allocations: 295.8 kB / 492.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.09715, allocations: 0 / 492.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.09741, allocations: 63.84 kB / 492.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.09756, allocations: 51.88 kB / 492.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.09778, allocations: 63.86 kB / 492.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.09791, allocations: 59.83 kB / 492.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.09801, allocations: 15.97 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.09807, allocations: 23.91 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.09816, allocations: 39.83 kB / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.09819, allocations: 4 kB / 492.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.388e-05/0.09826, allocations: 27.94 kB / 492.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.09831, allocations: 15.92 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.09836, allocations: 45.52 kB / 492.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.09852, allocations: 64.19 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.09853, allocations: 0 / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09854, allocations: 0 / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.09855, allocations: 4 kB / 492.9 MB, free: 8.535 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.0004703/0.09902, allocations: 391.1 kB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.09907, allocations: 8.031 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.09911, allocations: 30.75 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.09914, allocations: 12.75 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.09932, allocations: 200 kB / 493.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.09934, allocations: 4.375 kB / 493.6 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.09937, allocations: 4.375 kB / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.09951, allocations: 57.62 kB / 493.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.09953, allocations: 7.891 kB / 493.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.09954, allocations: 0 / 493.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.09955, allocations: 0 / 493.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.09965, allocations: 23.98 kB / 493.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.09998, allocations: 284.8 kB / 493.9 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1002, allocations: 46.56 kB / 494 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.1002, allocations: 12.86 kB / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1003, allocations: 4 kB / 494 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.1003, allocations: 30.56 kB / 494 MB, free: 7.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1003, allocations: 0 / 494 MB, free: 7.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005087/0.1008, allocations: 161.4 kB / 494.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1009, allocations: 55.39 kB / 494.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.101, allocations: 182.2 kB / 494.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.101, allocations: 29.7 kB / 494.5 MB, free: 6.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.1011, allocations: 108 kB / 494.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.1011, allocations: 15.8 kB / 494.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1011, allocations: 0 / 494.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.1012, allocations: 330.8 kB / 494.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.54e-05/0.1013, allocations: 19.98 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.767e-05/0.1014, allocations: 27.92 kB / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1015, allocations: 60.77 kB / 495 MB, free: 6.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1015, allocations: 0 / 495 MB, free: 6.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001619/0.1017, allocations: 85.58 kB / 495.1 MB, free: 6.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1017, allocations: 11.12 kB / 495.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1017, allocations: 0 / 495.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1017, allocations: 4 kB / 495.1 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.851e-05/0.1018, allocations: 15.98 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1018, allocations: 3.938 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.1019, allocations: 7.984 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1019, allocations: 3.938 kB / 495.1 MB, free: 6.117 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.857e-05/0.102, allocations: 125.8 kB / 495.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.102, allocations: 7.906 kB / 495.3 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.1022, allocations: 102.3 kB / 495.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1022, allocations: 7.984 kB / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1022, allocations: 0 / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1022, allocations: 0 / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.1026, allocations: 362.4 kB / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1026, allocations: 4 kB / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.1027, allocations: 11.98 kB / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1027, allocations: 4 kB / 495.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.1027, allocations: 0 / 495.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1027, allocations: 3.938 kB / 495.7 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1027, allocations: 4 kB / 495.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.1029, allocations: 183.4 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.103, allocations: 89 kB / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.103, allocations: 0 / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.1031, allocations: 11.94 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1031, allocations: 11.98 kB / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1031, allocations: 0 / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.795e-05/0.1032, allocations: 147.9 kB / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1032, allocations: 0 / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002102/0.1034, allocations: 16 kB / 496.2 MB, free: 4.941 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.001117/0.1046, allocations: 1.016 MB / 497.2 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1048, allocations: 63.89 kB / 497.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1048, allocations: 0 / 497.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.939e-05/0.1048, allocations: 27.98 kB / 497.3 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.1051, allocations: 11.94 kB / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1062, allocations: 0.6885 MB / 498 MB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1064, allocations: 0.7004 MB / 498.7 MB, free: 2.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.1065, allocations: 27.42 kB / 498.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1065, allocations: 0 / 498.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.612/2.719, allocations: 1.818 MB / 0.4888 GB, free: 0.5312 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches