Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_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.001741/0.001741, 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.002112/0.002112, allocations: 214.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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2414/0.2414, allocations: 44.91 MB / 358.8 MB, free: 6.297 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.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_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.002227/0.002227, allocations: 63.91 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3807, allocations: 65.47 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003735/0.3844, allocations: 1.745 MB / 0.5588 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.3864, allocations: 1.072 MB / 0.5598 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.663e-05/0.3865, allocations: 3.938 kB / 0.5598 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.3869, allocations: 43.77 kB / 0.5599 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.3872, allocations: 87.61 kB / 0.56 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.3875, allocations: 83.67 kB / 0.5601 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.3877, allocations: 115.6 kB / 0.5602 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3878, allocations: 13.81 kB / 0.5602 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3879, allocations: 43.78 kB / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.388, allocations: 43.83 kB / 0.5603 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.3881, allocations: 8 kB / 0.5603 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.3883, allocations: 119.9 kB / 0.5604 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.3883, allocations: 23.92 kB / 0.5604 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.3884, allocations: 35.73 kB / 0.5604 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.3887, allocations: 175.3 kB / 0.5606 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3887, allocations: 4 kB / 0.5606 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3887, allocations: 0 / 0.5606 GB, free: 4.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.3887, allocations: 0 / 0.5606 GB, free: 4.137 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.0006131/0.3894, allocations: 361.4 kB / 0.561 GB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3894, allocations: 8.031 kB / 0.561 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.3894, allocations: 34.75 kB / 0.561 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.3895, allocations: 16.89 kB / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.3898, allocations: 154.3 kB / 0.5612 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3898, allocations: 12.31 kB / 0.5612 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3899, allocations: 3.938 kB / 0.5612 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3901, allocations: 67.39 kB / 0.5612 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3901, allocations: 0 / 0.5612 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3901, allocations: 0 / 0.5612 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/0.3901, allocations: 8 kB / 0.5612 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3902, allocations: 15.98 kB / 0.5613 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.3906, allocations: 252 kB / 0.5615 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.3908, allocations: 66.55 kB / 0.5616 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.572e-05/0.3909, allocations: 28.97 kB / 0.5616 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3909, allocations: 0 / 0.5616 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.3911, allocations: 67.39 kB / 0.5617 GB, free: 2.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.3911, allocations: 0 / 0.5617 GB, free: 2.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006723/0.3917, allocations: 217.2 kB / 0.5619 GB, free: 2.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.3918, allocations: 77.11 kB / 0.5619 GB, free: 2.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.392, allocations: 169.9 kB / 0.5621 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.392, allocations: 37.64 kB / 0.5621 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.3921, allocations: 100.1 kB / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.3922, allocations: 31.73 kB / 0.5623 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.3922, allocations: 25.72 kB / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3924, allocations: 326.8 kB / 0.5626 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.876e-05/0.3925, allocations: 27.98 kB / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3926, allocations: 58.55 kB / 0.5627 GB, free: 1.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3927, allocations: 81.67 kB / 0.5628 GB, free: 1.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3927, allocations: 0 / 0.5628 GB, free: 1.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002516/0.393, allocations: 117.6 kB / 0.5629 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.393, allocations: 8 kB / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.393, allocations: 0 / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.393, allocations: 0 / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3931, allocations: 23.98 kB / 0.5629 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3931, allocations: 7.969 kB / 0.5629 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.3932, allocations: 3.938 kB / 0.5629 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.3932, allocations: 8 kB / 0.5629 GB, free: 1.547 MB / 398.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001318/0.3933, allocations: 125.8 kB / 0.563 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.3934, allocations: 11.91 kB / 0.563 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.3937, allocations: 134.8 kB / 0.5632 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3937, allocations: 4 kB / 0.5632 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3937, allocations: 3.938 kB / 0.5632 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3937, allocations: 7.984 kB / 0.5632 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007025/0.3944, allocations: 398.3 kB / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.3944, allocations: 7.938 kB / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.3945, allocations: 8 kB / 0.5636 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3945, allocations: 4 kB / 0.5636 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3945, allocations: 4 kB / 0.5636 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3945, allocations: 3.938 kB / 0.5636 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3945, allocations: 0 / 0.5636 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.3948, allocations: 224.4 kB / 0.5638 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.3948, allocations: 15.84 kB / 0.5638 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.3949, allocations: 4 kB / 0.5638 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.3949, allocations: 7.984 kB / 0.5638 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.395, allocations: 7.984 kB / 0.5638 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.395, allocations: 4 kB / 0.5639 GB, free: 0.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.3952, allocations: 131.2 kB / 0.564 GB, free: 380 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3952, allocations: 0 / 0.564 GB, free: 380 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000359/0.3955, allocations: 51.86 kB / 0.564 GB, free: 328 kB / 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002759/0.3983, allocations: 1.207 MB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.3986, allocations: 75.89 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3986, allocations: 0 / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.371e-05/0.3987, allocations: 35.92 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3991, allocations: 31.39 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.4012, allocations: 1.675 MB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.4016, allocations: 0.7006 MB / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.4017, allocations: 24.41 kB / 0.5677 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.4018, allocations: 35.42 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4018, allocations: 0 / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.4345, allocations: 4.433 MB / 0.572 GB, free: 8.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.68, allocations: 10.98 kB / 0.5721 GB, free: 8.203 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_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.704277422046289]