Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001595, allocations: 113.6 kB / 17.08 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 192.7 kB / 20.02 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.1 MB / 227.9 MB, free: 4.336 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3983/0.3983, allocations: 43.51 MB / 320.8 MB, free: 9 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 75.89 kB / 450.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3824, allocations: 57.77 MB / 0.496 GB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002898/0.3854, allocations: 1.791 MB / 0.4977 GB, free: 18.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3867, allocations: 0.8772 MB / 0.4986 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3869, allocations: 5.125 kB / 0.4986 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007522/0.3877, allocations: 295.3 kB / 0.4989 GB, free: 17.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005502/0.3882, allocations: 212.3 kB / 0.4991 GB, free: 17.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.3887, allocations: 138.2 kB / 0.4992 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.3891, allocations: 240.8 kB / 0.4994 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.43e-05/0.3891, allocations: 17.67 kB / 0.4994 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.3893, allocations: 134.2 kB / 0.4996 GB, free: 16.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.3896, allocations: 183.6 kB / 0.4997 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.3896, allocations: 5.562 kB / 0.4997 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3898, allocations: 42.95 kB / 0.4998 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.3899, allocations: 135.4 kB / 0.4999 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.3901, allocations: 139.5 kB / 0.5 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.3905, allocations: 361.6 kB / 0.5004 GB, free: 16.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3905, allocations: 0 / 0.5004 GB, free: 16.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3906, allocations: 0 / 0.5004 GB, free: 16.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3906, allocations: 5.406 kB / 0.5004 GB, free: 16.33 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008944/0.3915, allocations: 0.7326 MB / 0.5011 GB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3915, allocations: 13.2 kB / 0.5011 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.3916, allocations: 40.36 kB / 0.5012 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.3916, allocations: 50.36 kB / 0.5012 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.3923, allocations: 451.3 kB / 0.5016 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3923, allocations: 1.562 kB / 0.5016 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3923, allocations: 7.094 kB / 0.5016 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3925, allocations: 91.73 kB / 0.5017 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3925, allocations: 0 / 0.5017 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3925, allocations: 5.391 kB / 0.5017 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3926, allocations: 1.062 kB / 0.5017 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.3927, allocations: 32.12 kB / 0.5018 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.393, allocations: 370 kB / 0.5021 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.3933, allocations: 109.5 kB / 0.5022 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.921e-05/0.3934, allocations: 37.17 kB / 0.5023 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.3934, allocations: 2.094 kB / 0.5023 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.3936, allocations: 118.9 kB / 0.5024 GB, free: 14.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3936, allocations: 1.031 kB / 0.5024 GB, free: 14.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004705/0.3941, allocations: 200.1 kB / 0.5026 GB, free: 14.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.3942, allocations: 79.2 kB / 0.5026 GB, free: 14.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009833/0.3952, allocations: 1.006 MB / 0.5036 GB, free: 13.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3952, allocations: 31.89 kB / 0.5037 GB, free: 13.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3953, allocations: 229.5 kB / 0.5039 GB, free: 13.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.3954, allocations: 35.97 kB / 0.5039 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.3954, allocations: 26.47 kB / 0.5039 GB, free: 13.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3955, allocations: 365.7 kB / 0.5043 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.3956, allocations: 30.7 kB / 0.5043 GB, free: 13.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.918e-05/0.3957, allocations: 62.69 kB / 0.5044 GB, free: 13.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3959, allocations: 85.64 kB / 0.5045 GB, free: 13.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3959, allocations: 5.031 kB / 0.5045 GB, free: 13.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002866/0.3962, allocations: 170.3 kB / 0.5046 GB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3962, allocations: 8.594 kB / 0.5046 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3962, allocations: 1.125 kB / 0.5046 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3963, allocations: 2.156 kB / 0.5046 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3964, allocations: 22.17 kB / 0.5047 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3964, allocations: 1.094 kB / 0.5047 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.3965, allocations: 12.61 kB / 0.5047 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3965, allocations: 3.5 kB / 0.5047 GB, free: 13.02 MB / 382.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001843/0.3967, allocations: 227.4 kB / 0.5049 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.3968, allocations: 57.8 kB / 0.5049 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.823e-05/0.3969, allocations: 57.75 kB / 0.505 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3969, allocations: 1.156 kB / 0.505 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3969, allocations: 1.344 kB / 0.505 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3969, allocations: 0 / 0.505 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.3972, allocations: 339.5 kB / 0.5053 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3972, allocations: 0 / 0.5053 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.3972, allocations: 6.875 kB / 0.5053 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3972, allocations: 1.281 kB / 0.5053 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.3972, allocations: 5.156 kB / 0.5053 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3972, allocations: 1.375 kB / 0.5053 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3972, allocations: 5.281 kB / 0.5053 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.3976, allocations: 207.9 kB / 0.5055 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.944e-05/0.3977, allocations: 136.9 kB / 0.5057 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.3977, allocations: 6.062 kB / 0.5057 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.3978, allocations: 3.438 kB / 0.5057 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.3979, allocations: 12.39 kB / 0.5057 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.3979, allocations: 4.531 kB / 0.5057 GB, free: 12.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007904/0.3987, allocations: 0.7537 MB / 0.5064 GB, free: 11.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3987, allocations: 1.5 kB / 0.5064 GB, free: 11.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.399, allocations: 47.48 kB / 0.5065 GB, free: 11.84 MB / 382.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001894/0.4009, allocations: 1.064 MB / 0.5075 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.4012, allocations: 82.98 kB / 0.5076 GB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4012, allocations: 0 / 0.5076 GB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.4013, allocations: 39.61 kB / 0.5076 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.4018, allocations: 69.36 kB / 0.5077 GB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/0.4072, allocations: 4.408 MB / 0.512 GB, free: 8.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.4076, allocations: 0.8376 MB / 0.5128 GB, free: 7.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.4078, allocations: 60.61 kB / 0.5129 GB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.408, allocations: 146.7 kB / 0.513 GB, free: 7.395 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.408, allocations: 0 / 0.513 GB, free: 7.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.4396, allocations: 8.771 MB / 0.5216 GB, free: 15.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.898/9.338, allocations: 7.922 kB / 0.5216 GB, free: 15.4 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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: 12.52181049901992]