Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001748/0.001748, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002145/0.002145, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.551/1.551, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.2434/0.2434, allocations: 46.94 MB / 361.7 MB, free: 4.281 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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002899/0.002899, allocations: 67.91 kB / 0.497 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4041, allocations: 66.03 MB / 0.5614 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.00326/0.4074, allocations: 1.628 MB / 0.563 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.4085, allocations: 0.5621 MB / 0.5636 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.4086, allocations: 0 / 0.5636 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.4088, allocations: 23.86 kB / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.4091, allocations: 83.61 kB / 0.5637 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.4094, allocations: 91.64 kB / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.4096, allocations: 87.75 kB / 0.5638 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.4097, allocations: 9.828 kB / 0.5639 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.976e-05/0.4098, allocations: 27.86 kB / 0.5639 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.057e-05/0.4099, allocations: 35.83 kB / 0.5639 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.4099, allocations: 4 kB / 0.5639 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.4101, allocations: 103.9 kB / 0.564 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.4102, allocations: 15.98 kB / 0.564 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.4102, allocations: 27.8 kB / 0.5641 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.4105, allocations: 151.4 kB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4105, allocations: 0 / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4105, allocations: 0 / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.4105, allocations: 4 kB / 0.5642 GB, free: 1.641 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005317/0.4111, allocations: 345.5 kB / 0.5645 GB, free: 1.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4111, allocations: 12.03 kB / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.186e-05/0.4111, allocations: 192 / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.4111, allocations: 34.75 kB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.4112, allocations: 8.891 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.4114, allocations: 134.4 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-06/0.4114, allocations: 384 / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.4114, allocations: 20.06 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.4116, allocations: 63.39 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4116, allocations: 0 / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4116, allocations: 4 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4116, allocations: 0 / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.4117, allocations: 27.97 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.4122, allocations: 275.8 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.4124, allocations: 50.56 kB / 0.5651 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.046e-05/0.4124, allocations: 28.97 kB / 0.5652 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.4124, allocations: 3.984 kB / 0.5652 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4125, allocations: 30.56 kB / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4125, allocations: 4 kB / 0.5652 GB, free: 492 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006859/0.4132, allocations: 193.3 kB / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.4132, allocations: 81.11 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.4134, allocations: 148.7 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.4134, allocations: 25.77 kB / 0.5656 GB, free: 16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.4135, allocations: 104 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.4135, allocations: 23.78 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.4136, allocations: 29.72 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4137, allocations: 330.7 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.4138, allocations: 27.92 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.4139, allocations: 49.62 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.4141, allocations: 76.84 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.4141, allocations: 4 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002539/0.4144, allocations: 113.5 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4144, allocations: 4 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4144, allocations: 4.375 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.4144, allocations: 0 / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.4145, allocations: 19.98 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4145, allocations: 0 / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.4146, allocations: 11.94 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.4146, allocations: 11.92 kB / 0.5664 GB, free: 15.17 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 (9): * Single equations (assignments): 9 * 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.0001034/0.4147, allocations: 121.8 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.4147, allocations: 11.95 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.415, allocations: 110.3 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.4151, allocations: 4 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4151, allocations: 0 / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.4151, allocations: 3.938 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.4156, allocations: 373.6 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4156, allocations: 0 / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-05/0.4157, allocations: 23.92 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4157, allocations: 3.938 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4157, allocations: 288 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.4157, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4157, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.4161, allocations: 211.4 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.4161, allocations: 7.953 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.4161, allocations: 7.922 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.4162, allocations: 4 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.4162, allocations: 11.98 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.4162, allocations: 0 / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.4163, allocations: 119.2 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4163, allocations: 4 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.4167, allocations: 47.81 kB / 0.5674 GB, free: 14.04 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 (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.002426/0.4191, allocations: 1.13 MB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.4194, allocations: 79.88 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4194, allocations: 0 / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.97e-05/0.4195, allocations: 27.98 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.4199, allocations: 19.92 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.4219, allocations: 1.561 MB / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.4222, allocations: 0.6967 MB / 0.5709 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.791e-05/0.4223, allocations: 24.41 kB / 0.5709 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.4224, allocations: 31.42 kB / 0.5709 GB, free: 10.54 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4224, allocations: 0 / 0.5709 GB, free: 10.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.4459, allocations: 3.765 MB / 0.5746 GB, free: 6.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.75, allocations: 9.766 kB / 0.5746 GB, free: 6.809 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.014755979005713]