Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001343/0.001343, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002117/0.002117, allocations: 213.8 kB / 23.74 MB, free: 4.656 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.2403/0.2403, allocations: 44.92 MB / 358.8 MB, free: 6.289 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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",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.002143/0.002143, allocations: 78.39 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3801, allocations: 65.46 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003745/0.3839, allocations: 2.14 MB / 0.5591 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.3866, allocations: 1.412 MB / 0.5605 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.3867, allocations: 7.938 kB / 0.5605 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.3871, allocations: 63.44 kB / 0.5606 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.3876, allocations: 227 kB / 0.5608 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.389, allocations: 0.6148 MB / 0.5614 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004998/0.3895, allocations: 362.9 kB / 0.5617 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.3897, allocations: 48.92 kB / 0.5618 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.39, allocations: 159.3 kB / 0.5619 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.3903, allocations: 215.2 kB / 0.5621 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.3904, allocations: 16 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.3906, allocations: 71.92 kB / 0.5622 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.3908, allocations: 155.4 kB / 0.5624 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.3909, allocations: 186.5 kB / 0.5625 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.3915, allocations: 443.8 kB / 0.563 GB, free: 1.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3915, allocations: 4 kB / 0.563 GB, free: 1.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3915, allocations: 0 / 0.563 GB, free: 1.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.3916, allocations: 0 / 0.563 GB, free: 1.699 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001255/0.3928, allocations: 0.795 MB / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3929, allocations: 8.031 kB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.803e-05/0.3929, allocations: 42.75 kB / 0.5638 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004331/0.3933, allocations: 100.5 kB / 0.5639 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007461/0.3941, allocations: 443.1 kB / 0.5643 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3941, allocations: 4.375 kB / 0.5643 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.3941, allocations: 15.94 kB / 0.5643 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.3945, allocations: 163 kB / 0.5645 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3945, allocations: 4 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3945, allocations: 8 kB / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3945, allocations: 4 kB / 0.5645 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.3949, allocations: 123.7 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.396, allocations: 0.6987 MB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.3963, allocations: 125.2 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.3965, allocations: 65.8 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.3965, allocations: 4 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.3965, allocations: 38.5 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3965, allocations: 0 / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002247/0.3988, allocations: 0.7805 MB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.3989, allocations: 81.11 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.4, allocations: 0.926 MB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.4, allocations: 33.7 kB / 0.5673 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.4003, allocations: 280.3 kB / 0.5676 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.4004, allocations: 67.39 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.4004, allocations: 45.69 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.4006, allocations: 317.9 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.4009, allocations: 103.9 kB / 0.5681 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.4012, allocations: 133.6 kB / 0.5682 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.4018, allocations: 249.6 kB / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4018, allocations: 0 / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007482/0.4026, allocations: 349 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4026, allocations: 8 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4026, allocations: 0 / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4026, allocations: 4.219 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.4029, allocations: 55.94 kB / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4029, allocations: 3.938 kB / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.4031, allocations: 19.98 kB / 0.5689 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.4031, allocations: 11.98 kB / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002464/0.4034, allocations: 221.7 kB / 0.5691 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.4035, allocations: 63.56 kB / 0.5691 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009143/0.4044, allocations: 410.6 kB / 0.5695 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.4044, allocations: 4 kB / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4044, allocations: 0 / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.4044, allocations: 3.984 kB / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.4061, allocations: 0.9341 MB / 0.5705 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.4061, allocations: 3.984 kB / 0.5705 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.4064, allocations: 67.89 kB / 0.5705 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4064, allocations: 0 / 0.5705 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.4064, allocations: 4 kB / 0.5705 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.4064, allocations: 3.938 kB / 0.5705 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4064, allocations: 0 / 0.5705 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/0.4073, allocations: 0.5159 MB / 0.571 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.4074, allocations: 83.55 kB / 0.5711 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.4075, allocations: 0 / 0.5711 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.4077, allocations: 31.91 kB / 0.5712 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.4078, allocations: 19.91 kB / 0.5712 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.4078, allocations: 11.98 kB / 0.5712 GB, free: 8.961 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000834/0.4087, allocations: 0.6825 MB / 0.5718 GB, free: 8.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4087, allocations: 0 / 0.5718 GB, free: 8.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.4091, allocations: 64 kB / 0.5719 GB, free: 8.223 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.002688/0.4117, allocations: 1.359 MB / 0.5732 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007047/0.4124, allocations: 255.7 kB / 0.5735 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4124, allocations: 0 / 0.5735 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.4128, allocations: 136.3 kB / 0.5736 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.4134, allocations: 89.33 kB / 0.5737 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007911/0.4213, allocations: 5.506 MB / 0.5791 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.4219, allocations: 0.8889 MB / 0.5799 GB, free: 12 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002836/0.4222, allocations: 107.2 kB / 0.58 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.4225, allocations: 195.3 kB / 0.5802 GB, free: 15.71 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4225, allocations: 0 / 0.5802 GB, free: 15.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04348/0.466, allocations: 10.98 MB / 0.591 GB, free: 4.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.45, allocations: 8 kB / 0.591 GB, free: 4.797 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.74768209317699]