Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.001967/0.001967, allocations: 111.2 kB / 17.13 MB, free: 5.754 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.002576/0.002576, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.569/1.569, allocations: 207.6 MB / 230.4 MB, free: 4.004 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.3586/0.3586, allocations: 44.23 MB / 326.5 MB, free: 6.836 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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.002212/0.002212, allocations: 79.88 kB / 462.3 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2877, allocations: 60.98 MB / 0.511 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002815/0.2905, allocations: 1.717 MB / 0.5126 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2916, allocations: 0.8065 MB / 0.5134 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.2917, allocations: 0 / 0.5134 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.292, allocations: 56.94 kB / 0.5135 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.2922, allocations: 60.78 kB / 0.5135 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.2924, allocations: 85.02 kB / 0.5136 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.2925, allocations: 105.6 kB / 0.5137 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.2926, allocations: 12.06 kB / 0.5137 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.2927, allocations: 47.73 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.2927, allocations: 29.7 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.2927, allocations: 4.375 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.833e-05/0.2928, allocations: 42.28 kB / 0.5139 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.2929, allocations: 26.64 kB / 0.5139 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.2929, allocations: 40.58 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.2931, allocations: 134.2 kB / 0.5141 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2931, allocations: 0 / 0.5141 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2931, allocations: 4 kB / 0.5141 GB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2931, allocations: 0 / 0.5141 GB, free: 10.83 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.0004585/0.2936, allocations: 438.4 kB / 0.5145 GB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2936, allocations: 17.47 kB / 0.5145 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.514e-05/0.2937, allocations: 35.97 kB / 0.5145 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.2937, allocations: 15.72 kB / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.2939, allocations: 217.6 kB / 0.5147 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2939, allocations: 1.812 kB / 0.5147 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.294, allocations: 11.06 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.2941, allocations: 56.89 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2941, allocations: 1.5 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2941, allocations: 7.938 kB / 0.5148 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2941, allocations: 1.781 kB / 0.5148 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.14e-05/0.2942, allocations: 18.45 kB / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.2945, allocations: 294 kB / 0.5151 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.2946, allocations: 56.56 kB / 0.5152 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.2947, allocations: 21.03 kB / 0.5152 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2947, allocations: 0 / 0.5152 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.2948, allocations: 69.41 kB / 0.5153 GB, free: 9.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2948, allocations: 0 / 0.5153 GB, free: 9.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004737/0.2953, allocations: 193.1 kB / 0.5154 GB, free: 9.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.2953, allocations: 52.88 kB / 0.5155 GB, free: 9.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.2955, allocations: 270.1 kB / 0.5158 GB, free: 9.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.2955, allocations: 27.08 kB / 0.5158 GB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.2956, allocations: 111 kB / 0.5159 GB, free: 9.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.2956, allocations: 19.98 kB / 0.5159 GB, free: 9.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.2956, allocations: 24.58 kB / 0.5159 GB, free: 9.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.2957, allocations: 327 kB / 0.5162 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.369e-05/0.2957, allocations: 26.98 kB / 0.5163 GB, free: 8.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.384e-05/0.2958, allocations: 43.45 kB / 0.5163 GB, free: 8.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.38e-05/0.2959, allocations: 55.84 kB / 0.5164 GB, free: 8.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.2959, allocations: 0 / 0.5164 GB, free: 8.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001626/0.2961, allocations: 116.1 kB / 0.5165 GB, free: 8.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2961, allocations: 5.5 kB / 0.5165 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2961, allocations: 5.406 kB / 0.5165 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2961, allocations: 0 / 0.5165 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.2962, allocations: 17.73 kB / 0.5165 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2962, allocations: 1.375 kB / 0.5165 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.2962, allocations: 5.312 kB / 0.5165 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.2962, allocations: 2.75 kB / 0.5165 GB, free: 8.547 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 0.000103/0.2963, allocations: 141.9 kB / 0.5166 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.2964, allocations: 13.41 kB / 0.5167 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.2964, allocations: 25.64 kB / 0.5167 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2964, allocations: 5.375 kB / 0.5167 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2964, allocations: 0 / 0.5167 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2964, allocations: 3.938 kB / 0.5167 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.2968, allocations: 407.9 kB / 0.5171 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2968, allocations: 0 / 0.5171 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.2968, allocations: 8.25 kB / 0.5171 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2968, allocations: 5.312 kB / 0.5171 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2968, allocations: 1.375 kB / 0.5171 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2968, allocations: 4.031 kB / 0.5171 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2968, allocations: 1.375 kB / 0.5171 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.297, allocations: 209.6 kB / 0.5173 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.2971, allocations: 89.14 kB / 0.5174 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.2971, allocations: 9.312 kB / 0.5174 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.2972, allocations: 1.375 kB / 0.5174 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.2972, allocations: 12.11 kB / 0.5174 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.2972, allocations: 2.75 kB / 0.5174 GB, free: 7.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.2974, allocations: 196.7 kB / 0.5176 GB, free: 7.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2974, allocations: 0 / 0.5176 GB, free: 7.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.2977, allocations: 24.95 kB / 0.5176 GB, free: 7.559 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.001952/0.2996, allocations: 1.115 MB / 0.5187 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.2998, allocations: 55.89 kB / 0.5188 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2998, allocations: 5.844 kB / 0.5188 GB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.2999, allocations: 26.12 kB / 0.5188 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3003, allocations: 29.25 kB / 0.5188 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3019, allocations: 1.801 MB / 0.5206 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.302, allocations: 0.7197 MB / 0.5213 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.007e-05/0.302, allocations: 17.17 kB / 0.5213 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.3021, allocations: 43.42 kB / 0.5213 GB, free: 3.891 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3021, allocations: 0 / 0.5213 GB, free: 3.891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.3265, allocations: 3.732 MB / 0.525 GB, free: 88 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.495, allocations: 9.469 kB / 0.525 GB, free: 80 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.464482381939888]