Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.001775/0.001775, allocations: 119.3 kB / 17.13 MB, free: 5.926 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.001986/0.001986, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.603/1.603, allocations: 207.6 MB / 230.4 MB, free: 4.035 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.3367/0.3367, allocations: 44.24 MB / 326.5 MB, free: 6.871 MB / 254.1 MB " [Timeout remaining time 180] 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.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",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.002184/0.002184, allocations: 79.89 kB / 462.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3046, allocations: 60.99 MB / 0.511 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002719/0.3073, allocations: 1.715 MB / 0.5126 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3084, allocations: 0.8118 MB / 0.5134 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.3085, allocations: 5.656 kB / 0.5134 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.3088, allocations: 40.14 kB / 0.5135 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.309, allocations: 73.89 kB / 0.5136 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.3092, allocations: 89.14 kB / 0.5136 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3093, allocations: 90.28 kB / 0.5137 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.3094, allocations: 11.81 kB / 0.5137 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.972e-05/0.3095, allocations: 43.53 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.3096, allocations: 29.78 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3096, allocations: 4.469 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.3097, allocations: 42.27 kB / 0.5139 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.3097, allocations: 34.59 kB / 0.5139 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.3098, allocations: 41 kB / 0.5139 GB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.31, allocations: 136.9 kB / 0.5141 GB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.31, allocations: 1.594 kB / 0.5141 GB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.31, allocations: 0 / 0.5141 GB, free: 10.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.31, allocations: 0 / 0.5141 GB, free: 10.92 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004552/0.3105, allocations: 443.3 kB / 0.5145 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3105, allocations: 13.23 kB / 0.5145 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.3105, allocations: 34.69 kB / 0.5145 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.3106, allocations: 14.97 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.3108, allocations: 218.2 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3108, allocations: 6.375 kB / 0.5148 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.3108, allocations: 6.281 kB / 0.5148 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.311, allocations: 53.36 kB / 0.5148 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.311, allocations: 5.406 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.311, allocations: 3.984 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.311, allocations: 1.5 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.3111, allocations: 17.17 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.3114, allocations: 307.7 kB / 0.5151 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.3115, allocations: 51.77 kB / 0.5152 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.3116, allocations: 16.64 kB / 0.5152 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3116, allocations: 1.062 kB / 0.5152 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.3117, allocations: 77.97 kB / 0.5153 GB, free: 9.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3117, allocations: 0 / 0.5153 GB, free: 9.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005072/0.3122, allocations: 183.8 kB / 0.5154 GB, free: 9.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.3123, allocations: 52.78 kB / 0.5155 GB, free: 9.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.3125, allocations: 266.6 kB / 0.5157 GB, free: 9.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.3125, allocations: 27.08 kB / 0.5158 GB, free: 9.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.3126, allocations: 111 kB / 0.5159 GB, free: 9.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.3126, allocations: 23.97 kB / 0.5159 GB, free: 9.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.3126, allocations: 28.59 kB / 0.5159 GB, free: 9.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.3127, allocations: 326.9 kB / 0.5162 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.3127, allocations: 19 kB / 0.5163 GB, free: 8.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.3128, allocations: 35.45 kB / 0.5163 GB, free: 8.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.3129, allocations: 67.75 kB / 0.5164 GB, free: 8.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3129, allocations: 0 / 0.5164 GB, free: 8.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001579/0.3131, allocations: 104.4 kB / 0.5165 GB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3131, allocations: 5.5 kB / 0.5165 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3131, allocations: 9.297 kB / 0.5165 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3131, allocations: 0 / 0.5165 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.3132, allocations: 17.69 kB / 0.5165 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3132, allocations: 1.375 kB / 0.5165 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.3132, allocations: 9.312 kB / 0.5165 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3132, allocations: 2.75 kB / 0.5165 GB, free: 8.637 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 (10): * Single equations (assignments): 10 * 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 7.73e-05/0.3133, allocations: 141 kB / 0.5166 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.3133, allocations: 14.78 kB / 0.5167 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.3134, allocations: 17.81 kB / 0.5167 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3134, allocations: 1.375 kB / 0.5167 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3134, allocations: 0 / 0.5167 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3134, allocations: 3.938 kB / 0.5167 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.3137, allocations: 411.9 kB / 0.5171 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3137, allocations: 0 / 0.5171 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.3138, allocations: 12.62 kB / 0.5171 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3138, allocations: 15.94 kB / 0.5171 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3138, allocations: 2.75 kB / 0.5171 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3138, allocations: 7.938 kB / 0.5171 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3138, allocations: 1.375 kB / 0.5171 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.314, allocations: 197.5 kB / 0.5173 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.314, allocations: 93.2 kB / 0.5174 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.314, allocations: 8.812 kB / 0.5174 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.3141, allocations: 5.953 kB / 0.5174 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.3141, allocations: 3.5 kB / 0.5174 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.3141, allocations: 7.562 kB / 0.5174 GB, free: 7.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.3143, allocations: 195.8 kB / 0.5176 GB, free: 7.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3143, allocations: 0 / 0.5176 GB, free: 7.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3146, allocations: 22.06 kB / 0.5176 GB, free: 7.645 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: 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 (8): * Single equations (assignments): 6 * 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.001839/0.3164, allocations: 1.122 MB / 0.5187 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.3166, allocations: 57.08 kB / 0.5188 GB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3166, allocations: 0 / 0.5188 GB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.3166, allocations: 26.73 kB / 0.5188 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.317, allocations: 25.48 kB / 0.5188 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3183, allocations: 1.819 MB / 0.5206 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.3185, allocations: 0.7158 MB / 0.5213 GB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.445e-05/0.3185, allocations: 12.88 kB / 0.5213 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.3186, allocations: 39.42 kB / 0.5213 GB, free: 3.902 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3186, allocations: 0 / 0.5213 GB, free: 3.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.3443, allocations: 3.728 MB / 0.525 GB, free: 104 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/8.688, allocations: 8 kB / 0.525 GB, free: 96 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.70192476734519]