Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003943/0.003943, allocations: 100.3 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000997/0.000997, allocations: 196.1 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2592/0.2592, allocations: 43.49 MB / 313.5 MB, free: 8.277 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 71.91 kB / 382.1 MB, free: 8.375 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08415, allocations: 57.79 MB / 439.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002285/0.08646, allocations: 1.606 MB / 441.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004865/0.08696, allocations: 307.7 kB / 441.8 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.087, allocations: 0 / 441.8 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.08724, allocations: 91.8 kB / 441.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.08738, allocations: 67.8 kB / 442 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.08756, allocations: 63.92 kB / 442 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.08768, allocations: 67.77 kB / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.73e-05/0.08776, allocations: 16.25 kB / 442.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.08781, allocations: 27.91 kB / 442.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.08789, allocations: 51.83 kB / 442.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.08791, allocations: 0 / 442.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.229e-05/0.08798, allocations: 35.97 kB / 442.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.08803, allocations: 27.86 kB / 442.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.08806, allocations: 19.81 kB / 442.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.08819, allocations: 99.64 kB / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.0882, allocations: 7.875 kB / 442.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.08821, allocations: 0 / 442.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.08822, allocations: 0 / 442.4 MB, free: 11.99 MB / 382.1 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.0003593/0.08858, allocations: 403 kB / 442.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.08862, allocations: 8.031 kB / 442.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.08865, allocations: 38.75 kB / 442.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.08868, allocations: 12.84 kB / 442.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.08883, allocations: 196.7 kB / 443 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.08885, allocations: 4.375 kB / 443 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.08887, allocations: 8.312 kB / 443.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.08898, allocations: 45.62 kB / 443.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.08899, allocations: 0 / 443.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.089, allocations: 7.984 kB / 443.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.08901, allocations: 0 / 443.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.715e-05/0.08909, allocations: 23.97 kB / 443.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.08936, allocations: 288.9 kB / 443.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.08954, allocations: 42.5 kB / 443.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.08959, allocations: 16.94 kB / 443.5 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.08961, allocations: 4 kB / 443.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.08963, allocations: 34.56 kB / 443.5 MB, free: 10.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.08964, allocations: 0 / 443.5 MB, free: 10.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004551/0.0901, allocations: 141.2 kB / 443.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.09013, allocations: 51.41 kB / 443.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.0903, allocations: 227.1 kB / 443.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.09032, allocations: 25.7 kB / 443.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.09037, allocations: 112 kB / 444 MB, free: 10.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.0904, allocations: 19.73 kB / 444.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.09043, allocations: 17.72 kB / 444.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.157e-05/0.09052, allocations: 326.8 kB / 444.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.257e-05/0.09059, allocations: 19.98 kB / 444.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.204e-05/0.09064, allocations: 15.98 kB / 444.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.09076, allocations: 52.77 kB / 444.5 MB, free: 9.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.09077, allocations: 0 / 444.5 MB, free: 9.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001612/0.09094, allocations: 81.58 kB / 444.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.09095, allocations: 4 kB / 444.6 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.09096, allocations: 256 / 444.6 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.09098, allocations: 4 kB / 444.6 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.648e-05/0.09104, allocations: 15.98 kB / 444.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.09105, allocations: 0 / 444.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.09109, allocations: 8 kB / 444.6 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.0911, allocations: 7.922 kB / 444.6 MB, free: 9.543 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.886e-05/0.09117, allocations: 129.8 kB / 444.7 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.09121, allocations: 15.75 kB / 444.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.09141, allocations: 94.66 kB / 444.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.09142, allocations: 0 / 444.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.09143, allocations: 0 / 444.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.09144, allocations: 3.984 kB / 444.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.09177, allocations: 354.5 kB / 445.2 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.09179, allocations: 0 / 445.2 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.09184, allocations: 15.98 kB / 445.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.09185, allocations: 0 / 445.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.09186, allocations: 0 / 445.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.09186, allocations: 3.938 kB / 445.2 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.09187, allocations: 0 / 445.2 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.09205, allocations: 183.4 kB / 445.4 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.09209, allocations: 84.92 kB / 445.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.09211, allocations: 8 kB / 445.5 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-05/0.09218, allocations: 8.062 kB / 445.5 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.09221, allocations: 7.984 kB / 445.5 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.09222, allocations: 4 kB / 445.5 MB, free: 8.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.09234, allocations: 175.2 kB / 445.7 MB, free: 8.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09234, allocations: 3.938 kB / 445.7 MB, free: 8.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.09256, allocations: 19.98 kB / 445.7 MB, free: 8.34 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.09364, allocations: 1.005 MB / 446.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.09381, allocations: 47.91 kB / 446.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.09382, allocations: 0 / 446.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.09388, allocations: 24.11 kB / 446.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.09417, allocations: 19.92 kB / 446.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.0955, allocations: 1.613 MB / 448.4 MB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.09571, allocations: 0.704 MB / 449.1 MB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.556e-05/0.09575, allocations: 11.98 kB / 449.1 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.0958, allocations: 31.42 kB / 449.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09581, allocations: 0 / 449.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.661/1.757, allocations: 2.571 MB / 451.7 MB, free: 2.203 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/1.757, allocations: 239.8 kB / 452 MB, free: 1.941 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/4.722, allocations: 3.938 kB / 452 MB, free: 1.938 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches