Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001436/0.001436, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001556/0.001556, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2662/0.2662, allocations: 46.97 MB / 361.7 MB, free: 4.027 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.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 68.14 kB / 0.4969 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3877, allocations: 66.04 MB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003967/0.3917, allocations: 1.866 MB / 0.5633 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.394, allocations: 1.073 MB / 0.5643 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.3941, allocations: 7.938 kB / 0.5643 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.3947, allocations: 227.3 kB / 0.5645 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005887/0.3953, allocations: 219.2 kB / 0.5647 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.3957, allocations: 119.6 kB / 0.5648 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.3961, allocations: 259.2 kB / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3962, allocations: 23.78 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.3964, allocations: 123.5 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.3967, allocations: 175.4 kB / 0.5654 GB, free: 140 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.3967, allocations: 12 kB / 0.5654 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.3969, allocations: 59.98 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.397, allocations: 63.75 kB / 0.5655 GB, free: 4 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3971, allocations: 67.55 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.3975, allocations: 250.8 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3975, allocations: 0 / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3975, allocations: 0 / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3975, allocations: 0 / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000963/0.3985, allocations: 0.508 MB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.335e-05/0.3986, allocations: 8.031 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.389e-05/0.3986, allocations: 4.188 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.3986, allocations: 34.75 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.3987, allocations: 32.75 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.3993, allocations: 226.5 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.3993, allocations: 4.125 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.3993, allocations: 12 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.3996, allocations: 117.9 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3996, allocations: 0 / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.3997, allocations: 8 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3997, allocations: 3.938 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.3998, allocations: 51.95 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006882/0.4005, allocations: 443.8 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.4009, allocations: 117.2 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.4011, allocations: 41.83 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.4011, allocations: 7.984 kB / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.4013, allocations: 121.1 kB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.4013, allocations: 0 / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001534/0.4029, allocations: 0.5131 MB / 0.568 GB, free: 13.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.403, allocations: 85.09 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.4035, allocations: 452.5 kB / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.4036, allocations: 29.7 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.4037, allocations: 168.5 kB / 0.5687 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.4038, allocations: 75.42 kB / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.4039, allocations: 45.7 kB / 0.5688 GB, free: 12.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.4041, allocations: 342.8 kB / 0.5692 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.4042, allocations: 63.97 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.4044, allocations: 91.34 kB / 0.5693 GB, free: 11.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.4047, allocations: 167.5 kB / 0.5695 GB, free: 11.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4047, allocations: 0 / 0.5695 GB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004518/0.4051, allocations: 253.1 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4051, allocations: 4 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4051, allocations: 0 / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4052, allocations: 4 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.4053, allocations: 43.92 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.4053, allocations: 8.219 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-05/0.4054, allocations: 7.953 kB / 0.5698 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.4054, allocations: 15.98 kB / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001792/0.4056, allocations: 174.3 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.4057, allocations: 31.75 kB / 0.57 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000587/0.4063, allocations: 284.3 kB / 0.5703 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4063, allocations: 7.938 kB / 0.5703 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4063, allocations: 0 / 0.5703 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4063, allocations: 0 / 0.5703 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.4073, allocations: 0.7107 MB / 0.571 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4073, allocations: 128 / 0.571 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.4074, allocations: 39.92 kB / 0.571 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4074, allocations: 4 kB / 0.571 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.4075, allocations: 11.98 kB / 0.571 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4075, allocations: 0 / 0.571 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.4075, allocations: 7.938 kB / 0.571 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.4081, allocations: 437.5 kB / 0.5714 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.4081, allocations: 27.77 kB / 0.5715 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.4082, allocations: 11.98 kB / 0.5715 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.4083, allocations: 11.94 kB / 0.5715 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.4084, allocations: 27.97 kB / 0.5715 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.4084, allocations: 8 kB / 0.5715 GB, free: 9.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003629/0.4088, allocations: 343 kB / 0.5718 GB, free: 9.168 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4088, allocations: 0 / 0.5718 GB, free: 9.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003703/0.4091, allocations: 47.94 kB / 0.5719 GB, free: 9.121 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00295/0.4121, allocations: 1.432 MB / 0.5733 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.4125, allocations: 163.7 kB / 0.5734 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4125, allocations: 0 / 0.5734 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.4127, allocations: 79.84 kB / 0.5735 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.4132, allocations: 67.92 kB / 0.5736 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.4172, allocations: 2.916 MB / 0.5764 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.4174, allocations: 170 kB / 0.5766 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.4176, allocations: 37.92 kB / 0.5766 GB, free: 4.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.4177, allocations: 103.4 kB / 0.5767 GB, free: 4.242 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4177, allocations: 0 / 0.5767 GB, free: 4.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.4468, allocations: 6.956 MB / 0.5835 GB, free: 13.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.17, allocations: 7.062 kB / 0.5835 GB, free: 13.37 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.512996596982703]