Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001718/0.001718, 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.002138/0.002138, 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 8 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.2597/0.2597, allocations: 44.92 MB / 358.8 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.002269/0.002269, allocations: 78.45 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3857, allocations: 65.47 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003593/0.3892, allocations: 1.617 MB / 0.5586 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3905, allocations: 0.5854 MB / 0.5592 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.3906, allocations: 0 / 0.5592 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.3909, allocations: 27.8 kB / 0.5592 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.3911, allocations: 71.67 kB / 0.5593 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.3915, allocations: 115.7 kB / 0.5594 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.3917, allocations: 71.77 kB / 0.5595 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3918, allocations: 13.81 kB / 0.5595 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.3919, allocations: 35.86 kB / 0.5595 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.392, allocations: 31.78 kB / 0.5595 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.392, allocations: 4 kB / 0.5595 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.3922, allocations: 99.94 kB / 0.5596 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.3923, allocations: 19.97 kB / 0.5597 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.3923, allocations: 19.81 kB / 0.5597 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.3926, allocations: 151.4 kB / 0.5598 GB, free: 4.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3926, allocations: 4 kB / 0.5598 GB, free: 4.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3926, allocations: 0 / 0.5598 GB, free: 4.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.3926, allocations: 0 / 0.5598 GB, free: 4.902 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.0005211/0.3931, allocations: 333.7 kB / 0.5601 GB, free: 4.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3932, allocations: 12.03 kB / 0.5602 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.3932, allocations: 34.75 kB / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.3932, allocations: 8.891 kB / 0.5602 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.3935, allocations: 137 kB / 0.5603 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3935, allocations: 4.375 kB / 0.5603 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.3935, allocations: 8.312 kB / 0.5603 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3936, allocations: 67.33 kB / 0.5604 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3937, allocations: 4 kB / 0.5604 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3937, allocations: 4 kB / 0.5604 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.3937, allocations: 0 / 0.5604 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.13e-05/0.3938, allocations: 19.98 kB / 0.5604 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.3943, allocations: 267.9 kB / 0.5607 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.3944, allocations: 58.48 kB / 0.5607 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.044e-05/0.3944, allocations: 24.94 kB / 0.5608 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.3945, allocations: 3.984 kB / 0.5608 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.3945, allocations: 30.56 kB / 0.5608 GB, free: 3.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3945, allocations: 0 / 0.5608 GB, free: 3.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006924/0.3952, allocations: 185.3 kB / 0.561 GB, free: 3.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.3953, allocations: 81.11 kB / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.3955, allocations: 153.5 kB / 0.5612 GB, free: 3.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.3955, allocations: 29.64 kB / 0.5612 GB, free: 3.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.3956, allocations: 92.14 kB / 0.5613 GB, free: 3.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.3956, allocations: 27.78 kB / 0.5613 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.3956, allocations: 21.72 kB / 0.5614 GB, free: 3.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3958, allocations: 326.8 kB / 0.5617 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.3959, allocations: 27.98 kB / 0.5617 GB, free: 2.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-05/0.396, allocations: 45.69 kB / 0.5617 GB, free: 2.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.3962, allocations: 76.8 kB / 0.5618 GB, free: 2.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3962, allocations: 0 / 0.5618 GB, free: 2.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002442/0.3964, allocations: 105.6 kB / 0.5619 GB, free: 2.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3964, allocations: 8.031 kB / 0.5619 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3964, allocations: 0 / 0.5619 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3964, allocations: 3.938 kB / 0.5619 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3966, allocations: 19.98 kB / 0.5619 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3966, allocations: 0 / 0.5619 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.3966, allocations: 11.92 kB / 0.562 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3966, allocations: 0 / 0.562 GB, free: 2.504 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.0001197/0.3968, allocations: 117.8 kB / 0.5621 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.3968, allocations: 15.95 kB / 0.5621 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.3971, allocations: 126.6 kB / 0.5622 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3971, allocations: 0 / 0.5622 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3971, allocations: 3.938 kB / 0.5622 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3971, allocations: 3.938 kB / 0.5622 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/0.3977, allocations: 361.5 kB / 0.5626 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3977, allocations: 4 kB / 0.5626 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.647e-05/0.3977, allocations: 15.98 kB / 0.5626 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3977, allocations: 7.938 kB / 0.5626 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3977, allocations: 0 / 0.5626 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3977, allocations: 0 / 0.5626 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3977, allocations: 0 / 0.5626 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.398, allocations: 199.5 kB / 0.5628 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.398, allocations: 11.94 kB / 0.5628 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.3981, allocations: 7.938 kB / 0.5628 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.3981, allocations: 4 kB / 0.5628 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.3982, allocations: 11.86 kB / 0.5628 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.3982, allocations: 8 kB / 0.5628 GB, free: 1.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.3983, allocations: 113.8 kB / 0.5629 GB, free: 1.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3983, allocations: 4 kB / 0.5629 GB, free: 1.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000298/0.3986, allocations: 35.88 kB / 0.563 GB, free: 1.387 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 (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.002376/0.401, allocations: 1.136 MB / 0.5641 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.4012, allocations: 71.83 kB / 0.5641 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4012, allocations: 0 / 0.5641 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.601e-05/0.4013, allocations: 31.98 kB / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.4017, allocations: 27.42 kB / 0.5642 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.4037, allocations: 1.526 MB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.4041, allocations: 0.6963 MB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.646e-05/0.4042, allocations: 25.11 kB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.4043, allocations: 39.39 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4043, allocations: 0 / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.4369, allocations: 3.663 MB / 0.57 GB, free: 10.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.6, allocations: 13.28 kB / 0.57 GB, free: 10.25 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 14.736173481913283]