Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.001282/0.001282, 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.001334/0.001334, 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.561/1.561, allocations: 207.6 MB / 230.5 MB, free: 4.016 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.3865/0.3865, allocations: 44.23 MB / 326.5 MB, free: 6.785 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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",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.002251/0.002251, allocations: 71.89 kB / 462.2 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2994, allocations: 61 MB / 0.511 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003166/0.3026, allocations: 1.712 MB / 0.5126 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.3038, allocations: 0.8105 MB / 0.5134 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.3039, allocations: 3.438 kB / 0.5134 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.3042, allocations: 42.14 kB / 0.5135 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.3044, allocations: 60.06 kB / 0.5135 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.3046, allocations: 86.34 kB / 0.5136 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.3048, allocations: 88.83 kB / 0.5137 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3049, allocations: 12.59 kB / 0.5137 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.305, allocations: 47.67 kB / 0.5138 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.3051, allocations: 29.7 kB / 0.5138 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.3051, allocations: 4.125 kB / 0.5138 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3052, allocations: 42.48 kB / 0.5138 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.3053, allocations: 26.19 kB / 0.5139 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.3053, allocations: 31.23 kB / 0.5139 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.3055, allocations: 114.7 kB / 0.514 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3055, allocations: 1.625 kB / 0.514 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3055, allocations: 0 / 0.514 GB, free: 10.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3055, allocations: 0 / 0.514 GB, free: 10.76 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.0005047/0.306, allocations: 415.4 kB / 0.5144 GB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3061, allocations: 13.33 kB / 0.5144 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.3061, allocations: 36.69 kB / 0.5144 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.3061, allocations: 20.83 kB / 0.5145 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3064, allocations: 203.5 kB / 0.5147 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3064, allocations: 1.656 kB / 0.5147 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3064, allocations: 13.58 kB / 0.5147 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3066, allocations: 50.36 kB / 0.5147 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.3066, allocations: 0 / 0.5147 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3066, allocations: 9.531 kB / 0.5147 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3066, allocations: 0 / 0.5147 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.477e-05/0.3067, allocations: 18.92 kB / 0.5148 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.307, allocations: 289.4 kB / 0.515 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3071, allocations: 49.06 kB / 0.5151 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.3072, allocations: 24.44 kB / 0.5151 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3072, allocations: 1.406 kB / 0.5151 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.3073, allocations: 81.34 kB / 0.5152 GB, free: 9.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3073, allocations: 0 / 0.5152 GB, free: 9.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004932/0.3078, allocations: 178 kB / 0.5153 GB, free: 9.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.3078, allocations: 51.41 kB / 0.5154 GB, free: 9.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.308, allocations: 192.2 kB / 0.5156 GB, free: 9.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.308, allocations: 29.7 kB / 0.5156 GB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.308, allocations: 98.27 kB / 0.5157 GB, free: 9.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.308, allocations: 21.75 kB / 0.5157 GB, free: 9.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.3081, allocations: 20.69 kB / 0.5157 GB, free: 9.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.3081, allocations: 326 kB / 0.5161 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.3082, allocations: 18.83 kB / 0.5161 GB, free: 8.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-05/0.3082, allocations: 35.7 kB / 0.5161 GB, free: 8.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.694e-05/0.3083, allocations: 74.44 kB / 0.5162 GB, free: 8.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3083, allocations: 1.375 kB / 0.5162 GB, free: 8.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001522/0.3085, allocations: 94.84 kB / 0.5163 GB, free: 8.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3085, allocations: 9.438 kB / 0.5163 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3085, allocations: 0 / 0.5163 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3085, allocations: 1.375 kB / 0.5163 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.3086, allocations: 21.67 kB / 0.5163 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3086, allocations: 4.031 kB / 0.5163 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.3087, allocations: 10.69 kB / 0.5163 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.3087, allocations: 2.75 kB / 0.5163 GB, free: 8.562 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 6.908e-05/0.3088, allocations: 123.5 kB / 0.5164 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.3088, allocations: 8.078 kB / 0.5164 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.3088, allocations: 18.22 kB / 0.5165 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3088, allocations: 1.375 kB / 0.5165 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3088, allocations: 3.984 kB / 0.5165 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3088, allocations: 3.938 kB / 0.5165 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.3092, allocations: 398.5 kB / 0.5168 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3092, allocations: 3.984 kB / 0.5168 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.3092, allocations: 8.25 kB / 0.5169 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3092, allocations: 3.938 kB / 0.5169 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3092, allocations: 6.75 kB / 0.5169 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3092, allocations: 3.938 kB / 0.5169 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3092, allocations: 1.375 kB / 0.5169 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.3094, allocations: 200.4 kB / 0.5171 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.3094, allocations: 92.33 kB / 0.5172 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.3094, allocations: 5.312 kB / 0.5172 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.3095, allocations: 10.69 kB / 0.5172 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.3095, allocations: 6.734 kB / 0.5172 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.3096, allocations: 4.125 kB / 0.5172 GB, free: 7.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.835e-05/0.3097, allocations: 148.8 kB / 0.5173 GB, free: 7.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3097, allocations: 4 kB / 0.5173 GB, free: 7.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3099, allocations: 20.69 kB / 0.5173 GB, free: 7.602 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.001898/0.3118, allocations: 1.097 MB / 0.5184 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.312, allocations: 62.97 kB / 0.5185 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.312, allocations: 1.188 kB / 0.5185 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.312, allocations: 31.11 kB / 0.5185 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.3124, allocations: 32.33 kB / 0.5185 GB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.3137, allocations: 1.623 MB / 0.5201 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.3138, allocations: 0.7008 MB / 0.5208 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.697e-05/0.3139, allocations: 18.5 kB / 0.5208 GB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.3139, allocations: 31.67 kB / 0.5209 GB, free: 4.395 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3139, allocations: 0 / 0.5209 GB, free: 4.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.3397, allocations: 3.412 MB / 0.5242 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.502, allocations: 0 / 0.5242 GB, free: 0.9062 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.499240702949464]