Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001557/0.001557, allocations: 115.9 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.001963/0.001963, allocations: 213.4 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.62/1.62, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2231/0.2231, allocations: 44.91 MB / 358.8 MB, free: 6.309 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",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.002012/0.002012, allocations: 75.88 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3868, allocations: 65.47 MB / 0.5571 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00327/0.3901, allocations: 1.635 MB / 0.5587 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3911, allocations: 0.5465 MB / 0.5592 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.3912, allocations: 0 / 0.5592 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.3915, allocations: 71.77 kB / 0.5593 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.3917, allocations: 107.6 kB / 0.5594 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.392, allocations: 91.77 kB / 0.5594 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.3922, allocations: 79.75 kB / 0.5595 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.3923, allocations: 21.75 kB / 0.5595 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.181e-05/0.3923, allocations: 31.91 kB / 0.5596 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3924, allocations: 55.81 kB / 0.5596 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.3924, allocations: 7.938 kB / 0.5596 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.3925, allocations: 43.98 kB / 0.5597 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.3926, allocations: 19.92 kB / 0.5597 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.3926, allocations: 27.8 kB / 0.5597 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.3928, allocations: 115.4 kB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3928, allocations: 0 / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3928, allocations: 0 / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3928, allocations: 7.938 kB / 0.5598 GB, free: 4.938 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005333/0.3934, allocations: 333.7 kB / 0.5602 GB, free: 4.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3934, allocations: 8.031 kB / 0.5602 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.3935, allocations: 30.75 kB / 0.5602 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.3935, allocations: 12.84 kB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.3937, allocations: 142.3 kB / 0.5603 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.3937, allocations: 12.38 kB / 0.5604 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3938, allocations: 384 / 0.5604 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3939, allocations: 57.55 kB / 0.5604 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3939, allocations: 4 kB / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3939, allocations: 7.984 kB / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3939, allocations: 0 / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.3941, allocations: 27.97 kB / 0.5604 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.3945, allocations: 259.9 kB / 0.5607 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.3946, allocations: 50.5 kB / 0.5607 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.3947, allocations: 16.94 kB / 0.5608 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3947, allocations: 3.938 kB / 0.5608 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.3947, allocations: 30.56 kB / 0.5608 GB, free: 3.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3947, allocations: 0 / 0.5608 GB, free: 3.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009251/0.3956, allocations: 221.2 kB / 0.561 GB, free: 3.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.3957, allocations: 55.41 kB / 0.5611 GB, free: 3.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.396, allocations: 203.2 kB / 0.5612 GB, free: 3.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.396, allocations: 25.7 kB / 0.5613 GB, free: 3.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.3961, allocations: 112.1 kB / 0.5614 GB, free: 3.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.3961, allocations: 31.8 kB / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3961, allocations: 25.72 kB / 0.5614 GB, free: 3.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3963, allocations: 326.8 kB / 0.5617 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.944e-05/0.3964, allocations: 23.98 kB / 0.5618 GB, free: 2.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.968e-05/0.3965, allocations: 19.98 kB / 0.5618 GB, free: 2.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.3967, allocations: 68.83 kB / 0.5619 GB, free: 2.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3967, allocations: 4 kB / 0.5619 GB, free: 2.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002163/0.3969, allocations: 97.84 kB / 0.562 GB, free: 2.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3969, allocations: 4 kB / 0.562 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3969, allocations: 80 / 0.562 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3969, allocations: 0 / 0.562 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.397, allocations: 23.92 kB / 0.562 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.3971, allocations: 7.922 kB / 0.562 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.3971, allocations: 8 kB / 0.562 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3971, allocations: 4 kB / 0.562 GB, free: 2.523 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 (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.0001687/0.3973, allocations: 125.8 kB / 0.5621 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.3974, allocations: 11.91 kB / 0.5621 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.3978, allocations: 119 kB / 0.5622 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3978, allocations: 7.938 kB / 0.5622 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3978, allocations: 3.938 kB / 0.5623 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3978, allocations: 3.938 kB / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.3984, allocations: 370.4 kB / 0.5626 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3984, allocations: 4 kB / 0.5626 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.3984, allocations: 23.86 kB / 0.5626 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3984, allocations: 0 / 0.5626 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3984, allocations: 4 kB / 0.5626 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3984, allocations: 0 / 0.5626 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3984, allocations: 0 / 0.5626 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.3989, allocations: 212.2 kB / 0.5628 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.3989, allocations: 12.31 kB / 0.5629 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.3989, allocations: 0 / 0.5629 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3991, allocations: 7.984 kB / 0.5629 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3991, allocations: 8 kB / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.3991, allocations: 7.984 kB / 0.5629 GB, free: 1.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.3993, allocations: 153.8 kB / 0.563 GB, free: 1.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3993, allocations: 0 / 0.563 GB, free: 1.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.3995, allocations: 19.92 kB / 0.563 GB, free: 1.355 MB / 398.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 (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 Backend phase and start with SimCode phase: time 0.002622/0.4022, allocations: 1.102 MB / 0.5641 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.4024, allocations: 67.89 kB / 0.5642 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4024, allocations: 4 kB / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.64e-05/0.4025, allocations: 39.91 kB / 0.5642 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.403, allocations: 17.67 kB / 0.5642 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.4053, allocations: 1.644 MB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.4057, allocations: 0.7041 MB / 0.5665 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.782e-05/0.4057, allocations: 4.672 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.4058, allocations: 35.42 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4058, allocations: 0 / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.4382, allocations: 3.227 MB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.75, allocations: 7.5 kB / 0.5697 GB, free: 10.62 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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: 14.958426370983943]