Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.001562/0.001562, allocations: 117.9 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.002039/0.002039, allocations: 192.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.615/1.615, allocations: 207.6 MB / 230.4 MB, free: 4.031 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.3467/0.3467, allocations: 44.23 MB / 326.5 MB, free: 6.781 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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",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.002211/0.002211, allocations: 71.89 kB / 462.2 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2858, allocations: 60.99 MB / 0.511 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002689/0.2885, allocations: 1.709 MB / 0.5126 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2896, allocations: 0.8159 MB / 0.5134 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.2897, allocations: 5.562 kB / 0.5134 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.2899, allocations: 39.2 kB / 0.5135 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.2901, allocations: 66.05 kB / 0.5135 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.2903, allocations: 78.22 kB / 0.5136 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.2905, allocations: 97.7 kB / 0.5137 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.2906, allocations: 16.59 kB / 0.5137 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.2907, allocations: 39.5 kB / 0.5138 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.2907, allocations: 33.78 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.2907, allocations: 3.656 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.741e-05/0.2908, allocations: 39.02 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.2909, allocations: 23.02 kB / 0.5139 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.2909, allocations: 36.66 kB / 0.5139 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.2911, allocations: 115.8 kB / 0.514 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2911, allocations: 0 / 0.514 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2911, allocations: 0 / 0.514 GB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.2911, allocations: 4 kB / 0.514 GB, free: 10.96 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.0004383/0.2915, allocations: 417.5 kB / 0.5144 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2916, allocations: 13.8 kB / 0.5144 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.2916, allocations: 30.75 kB / 0.5144 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.2916, allocations: 10.39 kB / 0.5145 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.2919, allocations: 219.9 kB / 0.5147 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2919, allocations: 1.75 kB / 0.5147 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.2919, allocations: 6.688 kB / 0.5147 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.292, allocations: 58.05 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.292, allocations: 3.984 kB / 0.5147 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.292, allocations: 5.312 kB / 0.5147 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2921, allocations: 0 / 0.5147 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.12e-05/0.2921, allocations: 22.98 kB / 0.5148 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.2924, allocations: 290.8 kB / 0.515 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.2926, allocations: 56.56 kB / 0.5151 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.2926, allocations: 19.72 kB / 0.5151 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.2926, allocations: 1.375 kB / 0.5151 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.2928, allocations: 65.14 kB / 0.5152 GB, free: 9.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.2928, allocations: 3.938 kB / 0.5152 GB, free: 9.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005036/0.2933, allocations: 174.4 kB / 0.5153 GB, free: 9.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.2933, allocations: 56.78 kB / 0.5154 GB, free: 9.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.2935, allocations: 210.7 kB / 0.5156 GB, free: 9.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.2935, allocations: 27.05 kB / 0.5156 GB, free: 9.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.2935, allocations: 104.5 kB / 0.5157 GB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.2936, allocations: 24.02 kB / 0.5158 GB, free: 9.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.2936, allocations: 25.08 kB / 0.5158 GB, free: 9.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.2937, allocations: 321.5 kB / 0.5161 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.508e-05/0.2937, allocations: 23.17 kB / 0.5161 GB, free: 8.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/0.2938, allocations: 36.22 kB / 0.5161 GB, free: 8.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.2939, allocations: 54.64 kB / 0.5162 GB, free: 8.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2939, allocations: 3.938 kB / 0.5162 GB, free: 8.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/0.2941, allocations: 112.4 kB / 0.5163 GB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2941, allocations: 4.438 kB / 0.5163 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2941, allocations: 1.219 kB / 0.5163 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2941, allocations: 5.062 kB / 0.5163 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.2942, allocations: 17.25 kB / 0.5163 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2942, allocations: 1.094 kB / 0.5163 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.2942, allocations: 10.17 kB / 0.5163 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2943, allocations: 6.281 kB / 0.5163 GB, free: 8.75 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.686e-05/0.2943, allocations: 124.1 kB / 0.5165 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.2944, allocations: 12.78 kB / 0.5165 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.2944, allocations: 15.09 kB / 0.5165 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2944, allocations: 5.406 kB / 0.5165 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2944, allocations: 0 / 0.5165 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2944, allocations: 5.344 kB / 0.5165 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.2948, allocations: 394.3 kB / 0.5169 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2948, allocations: 384 / 0.5169 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.2948, allocations: 12.2 kB / 0.5169 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2948, allocations: 3.938 kB / 0.5169 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2948, allocations: 10.16 kB / 0.5169 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2948, allocations: 0.9375 kB / 0.5169 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2948, allocations: 4.688 kB / 0.5169 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.295, allocations: 201.2 kB / 0.5171 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.2951, allocations: 91.28 kB / 0.5172 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.2951, allocations: 10.22 kB / 0.5172 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.2951, allocations: 1.594 kB / 0.5172 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.2952, allocations: 3.062 kB / 0.5172 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.2952, allocations: 11.8 kB / 0.5172 GB, free: 7.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.2953, allocations: 152.8 kB / 0.5174 GB, free: 7.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2953, allocations: 3.938 kB / 0.5174 GB, free: 7.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.2955, allocations: 23.22 kB / 0.5174 GB, free: 7.785 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.001982/0.2975, allocations: 1.094 MB / 0.5185 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.2977, allocations: 64.89 kB / 0.5185 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2977, allocations: 0 / 0.5185 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/0.2978, allocations: 31.16 kB / 0.5185 GB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.2981, allocations: 33.58 kB / 0.5186 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.2996, allocations: 1.657 MB / 0.5202 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.2998, allocations: 0.708 MB / 0.5209 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.331e-05/0.2998, allocations: 16.83 kB / 0.5209 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.2999, allocations: 35.42 kB / 0.5209 GB, free: 4.305 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2999, allocations: 0 / 0.5209 GB, free: 4.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.3247, allocations: 3.459 MB / 0.5243 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/8.496, allocations: 17.17 kB / 0.5243 GB, free: 0.7539 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.528067997656763]