Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 212.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.606/1.606, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2273/0.2273, allocations: 44.93 MB / 359.6 MB, free: 6.102 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002912/0.002912, allocations: 67.91 kB / 0.4938 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.38, allocations: 65.47 MB / 0.5577 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003331/0.3833, allocations: 1.598 MB / 0.5593 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.3854, allocations: 1.22 MB / 0.5605 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.3855, allocations: 3.938 kB / 0.5605 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.3857, allocations: 27.83 kB / 0.5605 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.386, allocations: 79.64 kB / 0.5606 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.3864, allocations: 87.75 kB / 0.5607 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.3865, allocations: 75.77 kB / 0.5608 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3866, allocations: 13.81 kB / 0.5608 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.999e-05/0.3867, allocations: 31.8 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3868, allocations: 27.86 kB / 0.5608 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.3868, allocations: 4 kB / 0.5608 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.387, allocations: 91.94 kB / 0.5609 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.3871, allocations: 19.91 kB / 0.5609 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.3871, allocations: 23.88 kB / 0.561 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.3874, allocations: 139.5 kB / 0.5611 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3874, allocations: 0 / 0.5611 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3874, allocations: 0 / 0.5611 GB, free: 4.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3874, allocations: 0 / 0.5611 GB, free: 4.125 MB / 398.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.000538/0.3879, allocations: 321.7 kB / 0.5614 GB, free: 3.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.388, allocations: 12.03 kB / 0.5614 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.61e-05/0.388, allocations: 192 / 0.5614 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.388, allocations: 38.69 kB / 0.5614 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.3881, allocations: 16.83 kB / 0.5615 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.3883, allocations: 138.3 kB / 0.5616 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.3883, allocations: 4.375 kB / 0.5616 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.3883, allocations: 4.125 kB / 0.5616 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.3885, allocations: 89.09 kB / 0.5617 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3885, allocations: 4 kB / 0.5617 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3886, allocations: 4 kB / 0.5617 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3886, allocations: 0 / 0.5617 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/0.3887, allocations: 23.92 kB / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.3891, allocations: 240 kB / 0.5619 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.3893, allocations: 46.55 kB / 0.562 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.3893, allocations: 16.84 kB / 0.562 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3894, allocations: 0 / 0.562 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.3894, allocations: 30.56 kB / 0.562 GB, free: 3.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3894, allocations: 7.938 kB / 0.562 GB, free: 3.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006095/0.39, allocations: 137.6 kB / 0.5622 GB, free: 2.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.3901, allocations: 85.11 kB / 0.5623 GB, free: 2.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3902, allocations: 153.6 kB / 0.5624 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3903, allocations: 25.7 kB / 0.5624 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.3903, allocations: 100.1 kB / 0.5625 GB, free: 2.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.3904, allocations: 11.86 kB / 0.5625 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.3904, allocations: 17.72 kB / 0.5626 GB, free: 2.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3905, allocations: 326.8 kB / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/0.3906, allocations: 19.98 kB / 0.5629 GB, free: 2.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/0.3907, allocations: 55.41 kB / 0.5629 GB, free: 2.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.3908, allocations: 44.83 kB / 0.563 GB, free: 1.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3908, allocations: 0 / 0.563 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.391, allocations: 81.62 kB / 0.5631 GB, free: 1.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.391, allocations: 11.97 kB / 0.5631 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3911, allocations: 0 / 0.5631 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3911, allocations: 3.984 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.3911, allocations: 12.25 kB / 0.5631 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.3911, allocations: 0 / 0.5631 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.3912, allocations: 19.86 kB / 0.5631 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3912, allocations: 0 / 0.5631 GB, free: 1.84 MB / 398.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 0.000108/0.3913, allocations: 113.8 kB / 0.5632 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.3914, allocations: 7.953 kB / 0.5632 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.3916, allocations: 94.06 kB / 0.5633 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3916, allocations: 3.938 kB / 0.5633 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3916, allocations: 0 / 0.5633 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3916, allocations: 7.922 kB / 0.5633 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.3921, allocations: 305.7 kB / 0.5636 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3921, allocations: 0 / 0.5636 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.3921, allocations: 15.98 kB / 0.5636 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3921, allocations: 0 / 0.5636 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3921, allocations: 3.938 kB / 0.5636 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3921, allocations: 4 kB / 0.5636 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3921, allocations: 0 / 0.5636 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.3924, allocations: 187.4 kB / 0.5638 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.3924, allocations: 3.953 kB / 0.5638 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.3924, allocations: 7.938 kB / 0.5638 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3925, allocations: 7.984 kB / 0.5638 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.3926, allocations: 0 / 0.5638 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3926, allocations: 0 / 0.5638 GB, free: 1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3927, allocations: 117.9 kB / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3927, allocations: 4 kB / 0.5639 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.393, allocations: 39.86 kB / 0.564 GB, free: 0.8438 MB / 398.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.002563/0.3955, allocations: 1.147 MB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.3958, allocations: 43.97 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3958, allocations: 0 / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.3959, allocations: 23.92 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.3963, allocations: 29.42 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.3984, allocations: 1.429 MB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.998e-05/0.3985, allocations: 79.02 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.3985, allocations: 19.72 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.3986, allocations: 27.42 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3986, allocations: 0 / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.425, allocations: 3.494 MB / 0.5701 GB, free: 10.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.94, allocations: 8.047 kB / 0.5701 GB, free: 10.7 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.187664711964317]