Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001408/0.001408, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001458/0.001458, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.251/0.251, allocations: 46.96 MB / 361.7 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00305/0.00305, allocations: 63.91 kB / 0.4969 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3893, allocations: 66.03 MB / 0.5614 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003258/0.3926, allocations: 1.596 MB / 0.5629 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3938, allocations: 0.5426 MB / 0.5635 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.3939, allocations: 0 / 0.5635 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.3942, allocations: 31.84 kB / 0.5635 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.3946, allocations: 83.55 kB / 0.5636 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.3949, allocations: 111.2 kB / 0.5637 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.3952, allocations: 79.7 kB / 0.5638 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3953, allocations: 9.812 kB / 0.5638 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.705e-05/0.3954, allocations: 27.92 kB / 0.5638 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3955, allocations: 31.84 kB / 0.5638 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.3955, allocations: 4 kB / 0.5638 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.3957, allocations: 99.88 kB / 0.5639 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.104e-05/0.3958, allocations: 15.92 kB / 0.5639 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.3959, allocations: 23.86 kB / 0.564 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.3962, allocations: 139.5 kB / 0.5641 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3962, allocations: 0 / 0.5641 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3962, allocations: 4 kB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3962, allocations: 0 / 0.5641 GB, free: 1.477 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.0006261/0.3968, allocations: 329.7 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.3969, allocations: 15.97 kB / 0.5644 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.557e-05/0.3969, allocations: 8.125 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.3969, allocations: 30.75 kB / 0.5645 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.397, allocations: 12.88 kB / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.3972, allocations: 140.9 kB / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3972, allocations: 384 / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.3972, allocations: 8.125 kB / 0.5646 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3974, allocations: 89.09 kB / 0.5647 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3974, allocations: 0 / 0.5647 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3974, allocations: 0 / 0.5647 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3974, allocations: 0 / 0.5647 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.912e-05/0.3975, allocations: 35.91 kB / 0.5647 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.398, allocations: 256 kB / 0.565 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.3981, allocations: 50.55 kB / 0.565 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.159e-05/0.3982, allocations: 28.86 kB / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3982, allocations: 4 kB / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3982, allocations: 30.56 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3982, allocations: 0 / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006465/0.3989, allocations: 189.3 kB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.3989, allocations: 81.11 kB / 0.5653 GB, free: 28 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3991, allocations: 157.5 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3991, allocations: 25.7 kB / 0.5655 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.3992, allocations: 96.12 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.3993, allocations: 23.8 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.3993, allocations: 21.7 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3995, allocations: 318.8 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.3996, allocations: 35.97 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.3997, allocations: 75.33 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.3998, allocations: 68.83 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3998, allocations: 0 / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002426/0.4001, allocations: 113.5 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4001, allocations: 4 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4001, allocations: 0 / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4001, allocations: 4.031 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.4002, allocations: 19.98 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4002, allocations: 0 / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.4003, allocations: 11.88 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.4003, allocations: 0 / 0.5663 GB, free: 15.02 MB / 414.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 (8): * Single equations (assignments): 8 * 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.0001094/0.4004, allocations: 129.8 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.4005, allocations: 7.953 kB / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.4007, allocations: 118.6 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4008, allocations: 8 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4008, allocations: 0 / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4008, allocations: 3.938 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.4013, allocations: 357.5 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4013, allocations: 0 / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.4014, allocations: 15.98 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4014, allocations: 3.938 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4014, allocations: 0 / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4014, allocations: 4 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4014, allocations: 0 / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.4016, allocations: 195.4 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.4017, allocations: 11.89 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.4017, allocations: 7.984 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.4018, allocations: 4 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.4018, allocations: 7.984 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.4018, allocations: 0 / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.964e-05/0.4019, allocations: 113.8 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4019, allocations: 0 / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003/0.4022, allocations: 51.86 kB / 0.5673 GB, free: 13.91 MB / 414.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 (7): * Single equations (assignments): 7 * 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.002485/0.4047, allocations: 1.171 MB / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.4049, allocations: 71.92 kB / 0.5685 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4049, allocations: 0 / 0.5685 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.328e-05/0.405, allocations: 35.92 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.4054, allocations: 21.61 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.4073, allocations: 1.53 MB / 0.57 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.042e-05/0.4074, allocations: 87.19 kB / 0.5701 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.042e-05/0.4075, allocations: 29.11 kB / 0.5701 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.4076, allocations: 27.42 kB / 0.5702 GB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4076, allocations: 0 / 0.5702 GB, free: 11.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.4311, allocations: 3.774 MB / 0.5739 GB, free: 7.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.8, allocations: 18.62 kB / 0.5739 GB, free: 7.285 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.02177102107089]