Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test15",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.0007905/0.0007906, allocations: 175.8 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.139/1.139, 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.0006983/0.0006983, allocations: 85.44 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.2614/0.2614, allocations: 43.57 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.000319, allocations: 19.98 kB / 432.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09073, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.001486/0.09225, allocations: 1.259 MB / 492.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004508/0.09271, allocations: 303.8 kB / 492.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.09277, allocations: 3.938 kB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.09297, allocations: 79.84 kB / 492.6 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.0931, allocations: 47.86 kB / 492.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.09334, allocations: 87.77 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.09345, allocations: 55.83 kB / 492.8 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.912e-05/0.09354, allocations: 15.98 kB / 492.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.09359, allocations: 35.89 kB / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.09367, allocations: 31.91 kB / 492.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.0937, allocations: 4 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.533e-05/0.09377, allocations: 35.91 kB / 492.9 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.09381, allocations: 11.98 kB / 492.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.09385, allocations: 53.45 kB / 492.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.822e-05/0.09396, allocations: 60.19 kB / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.09397, allocations: 0 / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09398, allocations: 0 / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.247e-06/0.09399, allocations: 0 / 493 MB, free: 8.457 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.0003591/0.09435, allocations: 395 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.09439, allocations: 8.031 kB / 493.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.09442, allocations: 34.75 kB / 493.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.302e-05/0.09445, allocations: 8.844 kB / 493.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.09461, allocations: 200.1 kB / 493.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.09462, allocations: 384 / 493.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.09465, allocations: 4.375 kB / 493.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.09477, allocations: 57.56 kB / 493.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.09479, allocations: 0 / 493.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.0948, allocations: 0 / 493.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.09481, allocations: 0 / 493.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.503e-05/0.0949, allocations: 31.97 kB / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.09522, allocations: 288.9 kB / 494 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.0954, allocations: 50.48 kB / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.09546, allocations: 16.86 kB / 494.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.09548, allocations: 0 / 494.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.09551, allocations: 30.66 kB / 494.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.09552, allocations: 7.938 kB / 494.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004885/0.09601, allocations: 173.1 kB / 494.3 MB, free: 7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.09606, allocations: 59.41 kB / 494.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.09623, allocations: 198.2 kB / 494.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.09625, allocations: 25.7 kB / 494.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.09631, allocations: 104.1 kB / 494.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.09633, allocations: 19.7 kB / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.09634, allocations: 0 / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.09646, allocations: 322.8 kB / 495 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.819e-05/0.09654, allocations: 31.97 kB / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.09661, allocations: 23.98 kB / 495 MB, free: 6.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.09675, allocations: 56.83 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.09676, allocations: 7.938 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001803/0.09694, allocations: 97.81 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.09696, allocations: 7.281 kB / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.09697, allocations: 0 / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.09699, allocations: 0 / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.09705, allocations: 19.94 kB / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.09706, allocations: 4 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.09711, allocations: 11.98 kB / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.09712, allocations: 3.938 kB / 495.2 MB, free: 5.98 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 8.091e-05/0.0972, allocations: 125.8 kB / 495.4 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.09724, allocations: 7.906 kB / 495.4 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.09746, allocations: 109.9 kB / 495.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.09748, allocations: 0 / 495.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.09748, allocations: 0 / 495.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.09749, allocations: 4.266 kB / 495.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.09788, allocations: 382.4 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.09789, allocations: 0 / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.09795, allocations: 12 kB / 495.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.09796, allocations: 3.984 kB / 495.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.09797, allocations: 0 / 495.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.09798, allocations: 3.938 kB / 495.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.09799, allocations: 3.984 kB / 495.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.0982, allocations: 195.3 kB / 496.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.09825, allocations: 89 kB / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.09827, allocations: 0 / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.09834, allocations: 8.125 kB / 496.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.09838, allocations: 11.98 kB / 496.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.09839, allocations: 8 kB / 496.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.09851, allocations: 160 kB / 496.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09851, allocations: 3.938 kB / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.09873, allocations: 23.94 kB / 496.4 MB, free: 4.746 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.001048/0.09978, allocations: 1.016 MB / 497.4 MB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.09996, allocations: 55.91 kB / 497.4 MB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.09997, allocations: 4 kB / 497.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.1001, allocations: 36.09 kB / 497.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.1003, allocations: 19.94 kB / 497.5 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/0.1013, allocations: 0.7228 MB / 498.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1016, allocations: 0.7083 MB / 498.9 MB, free: 2.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.1016, allocations: 31.36 kB / 499 MB, free: 2.094 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1016, allocations: 7.938 kB / 499 MB, free: 2.086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.618/2.72, allocations: 1.895 MB / 0.4891 GB, free: 192 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test15.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches