Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.001773/0.001773, allocations: 114.1 kB / 17.13 MB, free: 5.914 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.001687/0.001687, allocations: 191.7 kB / 20.07 MB, free: 2.984 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.584/1.584, allocations: 207.6 MB / 230.5 MB, free: 4.039 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.3697/0.3697, allocations: 44.22 MB / 326.5 MB, free: 6.875 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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",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.002249/0.002249, allocations: 67.89 kB / 462.2 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2889, allocations: 60.99 MB / 0.511 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002885/0.2918, allocations: 1.719 MB / 0.5126 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.293, allocations: 0.818 MB / 0.5134 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.216e-05/0.2931, allocations: 5.062 kB / 0.5135 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.2934, allocations: 35.36 kB / 0.5135 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.2936, allocations: 62.44 kB / 0.5135 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.2939, allocations: 81.31 kB / 0.5136 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.294, allocations: 93.48 kB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2941, allocations: 17.62 kB / 0.5137 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.214e-05/0.2942, allocations: 42.66 kB / 0.5138 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.2943, allocations: 29.72 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2943, allocations: 8.156 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.802e-05/0.2944, allocations: 39.27 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.2944, allocations: 22.48 kB / 0.5139 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.2945, allocations: 31.23 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.2947, allocations: 120.4 kB / 0.514 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2947, allocations: 0 / 0.514 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.2947, allocations: 1.375 kB / 0.514 GB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2947, allocations: 4 kB / 0.514 GB, free: 10.91 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.0005219/0.2952, allocations: 417.1 kB / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.2953, allocations: 12.73 kB / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.2953, allocations: 40.28 kB / 0.5145 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.2953, allocations: 13.34 kB / 0.5145 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.2956, allocations: 208.1 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2956, allocations: 6.469 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.2957, allocations: 9.641 kB / 0.5147 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.2958, allocations: 58.11 kB / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2958, allocations: 0 / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2958, allocations: 1.344 kB / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2958, allocations: 1.375 kB / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.795e-05/0.2959, allocations: 18.39 kB / 0.5148 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.2963, allocations: 294.3 kB / 0.515 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.2964, allocations: 55.5 kB / 0.5151 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.2965, allocations: 20.56 kB / 0.5151 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.2965, allocations: 5.516 kB / 0.5151 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.2966, allocations: 61.02 kB / 0.5152 GB, free: 9.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.2966, allocations: 3.938 kB / 0.5152 GB, free: 9.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005077/0.2971, allocations: 182 kB / 0.5154 GB, free: 9.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2972, allocations: 56.81 kB / 0.5154 GB, free: 9.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.2973, allocations: 203.7 kB / 0.5156 GB, free: 9.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.2973, allocations: 29.7 kB / 0.5156 GB, free: 9.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.2974, allocations: 101.6 kB / 0.5157 GB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.2974, allocations: 24.52 kB / 0.5158 GB, free: 9.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.2974, allocations: 27.45 kB / 0.5158 GB, free: 9.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.2975, allocations: 323 kB / 0.5161 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.2976, allocations: 27.39 kB / 0.5161 GB, free: 8.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.448e-05/0.2976, allocations: 34.86 kB / 0.5161 GB, free: 8.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.438e-05/0.2977, allocations: 52.47 kB / 0.5162 GB, free: 8.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2977, allocations: 3.938 kB / 0.5162 GB, free: 8.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001617/0.2979, allocations: 106.3 kB / 0.5163 GB, free: 8.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2979, allocations: 5.875 kB / 0.5163 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2979, allocations: 0 / 0.5163 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2979, allocations: 5.188 kB / 0.5163 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.298, allocations: 17.53 kB / 0.5163 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.298, allocations: 5.359 kB / 0.5163 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.281e-05/0.298, allocations: 5.562 kB / 0.5163 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.298, allocations: 6.875 kB / 0.5163 GB, free: 8.699 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.391e-05/0.2981, allocations: 125 kB / 0.5165 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.2981, allocations: 12.62 kB / 0.5165 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.2982, allocations: 15.03 kB / 0.5165 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2982, allocations: 5.344 kB / 0.5165 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2982, allocations: 0 / 0.5165 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2982, allocations: 3.938 kB / 0.5165 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.2985, allocations: 394.7 kB / 0.5169 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2985, allocations: 1.375 kB / 0.5169 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.2986, allocations: 6.875 kB / 0.5169 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2986, allocations: 9.25 kB / 0.5169 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.2986, allocations: 1.375 kB / 0.5169 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2986, allocations: 1.375 kB / 0.5169 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2986, allocations: 4.031 kB / 0.5169 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.2987, allocations: 204.3 kB / 0.5171 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.2988, allocations: 93.12 kB / 0.5172 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.2988, allocations: 5.312 kB / 0.5172 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.2989, allocations: 5.562 kB / 0.5172 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.2989, allocations: 8.109 kB / 0.5172 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.2989, allocations: 10.69 kB / 0.5172 GB, free: 7.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.551e-05/0.299, allocations: 152.9 kB / 0.5174 GB, free: 7.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.299, allocations: 0 / 0.5174 GB, free: 7.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.2993, allocations: 24.44 kB / 0.5174 GB, free: 7.738 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.001959/0.3012, allocations: 1.102 MB / 0.5185 GB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.3014, allocations: 51.55 kB / 0.5185 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3014, allocations: 64 / 0.5185 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.622e-05/0.3015, allocations: 36.47 kB / 0.5185 GB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3018, allocations: 24.27 kB / 0.5186 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.3033, allocations: 1.658 MB / 0.5202 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.3034, allocations: 0.7119 MB / 0.5209 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.354e-05/0.3034, allocations: 21.12 kB / 0.5209 GB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.3035, allocations: 35.42 kB / 0.5209 GB, free: 4.293 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3035, allocations: 0 / 0.5209 GB, free: 4.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.3267, allocations: 3.454 MB / 0.5243 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.505, allocations: 21.11 kB / 0.5243 GB, free: 0.7422 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.57619089493528]