Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.001697/0.001697, allocations: 113.8 kB / 17.12 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.001775/0.001775, allocations: 192.6 kB / 20.07 MB, free: 2.98 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.512/1.512, allocations: 207.6 MB / 230.5 MB, free: 4.066 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.3285/0.3285, allocations: 44.23 MB / 326.5 MB, free: 6.848 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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.002154/0.002154, allocations: 79.89 kB / 462.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2547, allocations: 60.99 MB / 0.511 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002677/0.2573, allocations: 1.711 MB / 0.5126 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2585, allocations: 0.8153 MB / 0.5134 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.2586, allocations: 1.062 kB / 0.5134 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.259, allocations: 81.09 kB / 0.5135 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.2592, allocations: 80.38 kB / 0.5136 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.2595, allocations: 81.33 kB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.2597, allocations: 110.5 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2598, allocations: 7.969 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.2599, allocations: 57.2 kB / 0.5138 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.26, allocations: 60.86 kB / 0.5139 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.2601, allocations: 3.656 kB / 0.5139 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.2602, allocations: 46.83 kB / 0.5139 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.2603, allocations: 28.58 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.2603, allocations: 35.14 kB / 0.514 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.2606, allocations: 113.4 kB / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.2606, allocations: 0 / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2606, allocations: 1.688 kB / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.2606, allocations: 0 / 0.5141 GB, free: 10.75 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.0005662/0.2612, allocations: 425.2 kB / 0.5145 GB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.2612, allocations: 17.61 kB / 0.5145 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.2612, allocations: 40.45 kB / 0.5146 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.2613, allocations: 13.44 kB / 0.5146 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.2616, allocations: 207.8 kB / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.2616, allocations: 2.844 kB / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.2616, allocations: 9.203 kB / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.2618, allocations: 54.11 kB / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2618, allocations: 4 kB / 0.5149 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2618, allocations: 1.25 kB / 0.5149 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2618, allocations: 1.219 kB / 0.5149 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.2619, allocations: 25.92 kB / 0.5149 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.2622, allocations: 291.5 kB / 0.5152 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.2624, allocations: 52.73 kB / 0.5152 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.2624, allocations: 19.73 kB / 0.5152 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.2624, allocations: 1.219 kB / 0.5152 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.2626, allocations: 77.38 kB / 0.5153 GB, free: 9.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.2626, allocations: 0 / 0.5153 GB, free: 9.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005115/0.2631, allocations: 179.5 kB / 0.5155 GB, free: 9.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.2631, allocations: 51.41 kB / 0.5155 GB, free: 9.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.2633, allocations: 224.7 kB / 0.5157 GB, free: 9.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.2633, allocations: 27.08 kB / 0.5158 GB, free: 9.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.2634, allocations: 110 kB / 0.5159 GB, free: 9.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.2634, allocations: 20.33 kB / 0.5159 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2634, allocations: 23.45 kB / 0.5159 GB, free: 9.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.2635, allocations: 326.5 kB / 0.5162 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.154e-05/0.2635, allocations: 15.34 kB / 0.5162 GB, free: 8.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.508e-05/0.2636, allocations: 39.33 kB / 0.5163 GB, free: 8.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.624e-05/0.2637, allocations: 63.52 kB / 0.5163 GB, free: 8.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2637, allocations: 0 / 0.5163 GB, free: 8.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001783/0.2639, allocations: 100.8 kB / 0.5164 GB, free: 8.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2639, allocations: 7.984 kB / 0.5164 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2639, allocations: 1.344 kB / 0.5164 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2639, allocations: 5.344 kB / 0.5164 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.264, allocations: 16.28 kB / 0.5165 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.264, allocations: 1.531 kB / 0.5165 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.264, allocations: 18.61 kB / 0.5165 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.264, allocations: 6.734 kB / 0.5165 GB, free: 8.508 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.017e-05/0.2641, allocations: 124.8 kB / 0.5166 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.2641, allocations: 9.453 kB / 0.5166 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.2642, allocations: 18.89 kB / 0.5166 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2642, allocations: 1.375 kB / 0.5166 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2642, allocations: 0 / 0.5166 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2642, allocations: 9.312 kB / 0.5166 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.2645, allocations: 398.5 kB / 0.517 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2645, allocations: 5.359 kB / 0.517 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.2645, allocations: 10.81 kB / 0.517 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2645, allocations: 5.312 kB / 0.517 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2646, allocations: 1.375 kB / 0.517 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2646, allocations: 1.375 kB / 0.517 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2646, allocations: 0 / 0.517 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.2647, allocations: 201.8 kB / 0.5172 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.2648, allocations: 92.12 kB / 0.5173 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.2648, allocations: 5.312 kB / 0.5173 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.2649, allocations: 10.75 kB / 0.5173 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.2649, allocations: 6.734 kB / 0.5174 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.2649, allocations: 4.125 kB / 0.5174 GB, free: 7.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.265, allocations: 159.4 kB / 0.5175 GB, free: 7.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.265, allocations: 192 / 0.5175 GB, free: 7.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.2653, allocations: 24.44 kB / 0.5175 GB, free: 7.547 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.001903/0.2672, allocations: 1.115 MB / 0.5186 GB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.2673, allocations: 55.53 kB / 0.5187 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2673, allocations: 0 / 0.5187 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.739e-05/0.2674, allocations: 28.55 kB / 0.5187 GB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.2678, allocations: 36.56 kB / 0.5187 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.2692, allocations: 1.688 MB / 0.5204 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.2693, allocations: 0.708 MB / 0.5211 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.869e-05/0.2693, allocations: 20.48 kB / 0.5211 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.2694, allocations: 35.42 kB / 0.5211 GB, free: 4.129 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2694, allocations: 4 kB / 0.5211 GB, free: 4.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.2932, allocations: 3.514 MB / 0.5246 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/8.458, allocations: 0.875 kB / 0.5246 GB, free: 0.5391 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.380571749992669]