Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.001295/0.001295, allocations: 108.7 kB / 17.08 MB, free: 6.004 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.001299/0.001299, allocations: 192.7 kB / 20.02 MB, free: 3.07 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.719/1.719, allocations: 205.1 MB / 227.9 MB, free: 4.387 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.409/0.409, allocations: 43.51 MB / 320.8 MB, free: 9.027 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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.002163/0.002163, allocations: 71.89 kB / 450.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4718, allocations: 57.78 MB / 0.496 GB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003934/0.4758, allocations: 1.655 MB / 0.4976 GB, free: 18.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.4773, allocations: 0.7796 MB / 0.4984 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.4774, allocations: 5.219 kB / 0.4984 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.4778, allocations: 62.48 kB / 0.4984 GB, free: 17.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.4781, allocations: 75.88 kB / 0.4985 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.4784, allocations: 80 kB / 0.4986 GB, free: 17.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.4786, allocations: 100.1 kB / 0.4987 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.982e-05/0.4786, allocations: 8.203 kB / 0.4987 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.4787, allocations: 50.44 kB / 0.4987 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.4789, allocations: 43.05 kB / 0.4988 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.4789, allocations: 3.438 kB / 0.4988 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.479, allocations: 28.02 kB / 0.4988 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.4791, allocations: 21.7 kB / 0.4988 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.4792, allocations: 31.14 kB / 0.4988 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.4794, allocations: 102.5 kB / 0.4989 GB, free: 17.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4794, allocations: 0 / 0.4989 GB, free: 17.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4794, allocations: 0 / 0.4989 GB, free: 17.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.4794, allocations: 5.141 kB / 0.4989 GB, free: 17.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006099/0.48, allocations: 401.5 kB / 0.4993 GB, free: 16.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.4801, allocations: 13.08 kB / 0.4993 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.4802, allocations: 31.88 kB / 0.4994 GB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.4802, allocations: 13.56 kB / 0.4994 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.4805, allocations: 218.4 kB / 0.4996 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.4806, allocations: 1.406 kB / 0.4996 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4806, allocations: 5.094 kB / 0.4996 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.4808, allocations: 51.78 kB / 0.4996 GB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.4808, allocations: 0 / 0.4996 GB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.4808, allocations: 1.25 kB / 0.4996 GB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.4809, allocations: 3.938 kB / 0.4996 GB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/0.481, allocations: 19.86 kB / 0.4997 GB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.4812, allocations: 182.8 kB / 0.4998 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.4814, allocations: 55.16 kB / 0.4999 GB, free: 16.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.456e-05/0.4815, allocations: 20.53 kB / 0.4999 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.4815, allocations: 1.062 kB / 0.4999 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.4817, allocations: 72.33 kB / 0.5 GB, free: 16.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.4817, allocations: 1.438 kB / 0.5 GB, free: 16.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003412/0.4821, allocations: 90.97 kB / 0.5001 GB, free: 15.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.4821, allocations: 55.39 kB / 0.5001 GB, free: 15.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.4823, allocations: 189.3 kB / 0.5003 GB, free: 15.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.4824, allocations: 27.11 kB / 0.5003 GB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.4824, allocations: 100.3 kB / 0.5004 GB, free: 15.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.4825, allocations: 10.55 kB / 0.5004 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.4825, allocations: 27.05 kB / 0.5005 GB, free: 15.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.4826, allocations: 318.3 kB / 0.5008 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.255e-05/0.4826, allocations: 14.67 kB / 0.5008 GB, free: 15.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.4827, allocations: 31.67 kB / 0.5008 GB, free: 15.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.907e-05/0.4828, allocations: 40.56 kB / 0.5008 GB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.4828, allocations: 3.938 kB / 0.5009 GB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001544/0.483, allocations: 94.92 kB / 0.5009 GB, free: 15.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.483, allocations: 4.656 kB / 0.5009 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.483, allocations: 1.031 kB / 0.5009 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.483, allocations: 1.344 kB / 0.5009 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.4831, allocations: 12.66 kB / 0.501 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4832, allocations: 5.297 kB / 0.501 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.4832, allocations: 6.453 kB / 0.501 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.4832, allocations: 1.438 kB / 0.501 GB, free: 15.12 MB / 382.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 (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 prepare postOptimizeDAE: time 9.386e-05/0.4833, allocations: 126.2 kB / 0.5011 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.4833, allocations: 9.547 kB / 0.5011 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.4834, allocations: 16.7 kB / 0.5011 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4834, allocations: 3.938 kB / 0.5011 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4834, allocations: 1.25 kB / 0.5011 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4834, allocations: 0 / 0.5011 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.4836, allocations: 191.7 kB / 0.5013 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4836, allocations: 1.562 kB / 0.5013 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.4836, allocations: 7.172 kB / 0.5013 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4836, allocations: 4 kB / 0.5013 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.4837, allocations: 1.219 kB / 0.5013 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4837, allocations: 5.094 kB / 0.5013 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4837, allocations: 0 / 0.5013 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.4839, allocations: 109.1 kB / 0.5014 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.4839, allocations: 84.47 kB / 0.5015 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.4839, allocations: 4.938 kB / 0.5015 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.29e-05/0.484, allocations: 1.125 kB / 0.5015 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.484, allocations: 6.328 kB / 0.5015 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.484, allocations: 14.27 kB / 0.5015 GB, free: 14.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.4842, allocations: 145.3 kB / 0.5017 GB, free: 14.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4842, allocations: 0 / 0.5017 GB, free: 14.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.4844, allocations: 20.27 kB / 0.5017 GB, free: 14.41 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00176/0.4861, allocations: 0.9552 MB / 0.5026 GB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.4863, allocations: 46.95 kB / 0.5027 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4863, allocations: 1.375 kB / 0.5027 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.352e-05/0.4864, allocations: 18.45 kB / 0.5027 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.4867, allocations: 32.27 kB / 0.5027 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.4884, allocations: 1.471 MB / 0.5042 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.4886, allocations: 0.7059 MB / 0.5048 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.742e-05/0.4887, allocations: 11.73 kB / 0.5049 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.4887, allocations: 29.42 kB / 0.5049 GB, free: 11.44 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4887, allocations: 0 / 0.5049 GB, free: 11.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.5157, allocations: 3.06 MB / 0.5079 GB, free: 9.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.428, allocations: 14.06 kB / 0.5079 GB, free: 9.633 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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: 11.851141346036457]