Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.001347/0.001347, allocations: 118.8 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.001376/0.001376, 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.528/1.528, allocations: 207.6 MB / 230.5 MB, free: 4.035 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.366/0.366, allocations: 44.23 MB / 326.5 MB, free: 6.828 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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",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.00217/0.00217, allocations: 72.38 kB / 462.2 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3026, allocations: 60.99 MB / 0.511 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003384/0.306, allocations: 1.718 MB / 0.5126 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3078, allocations: 1.418 MB / 0.514 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.199e-05/0.3079, allocations: 6.156 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.3082, allocations: 41.7 kB / 0.5141 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.3085, allocations: 52.08 kB / 0.5141 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.3087, allocations: 93.41 kB / 0.5142 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.3089, allocations: 90.27 kB / 0.5143 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.309, allocations: 12.33 kB / 0.5143 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3091, allocations: 44.28 kB / 0.5144 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.3093, allocations: 53.52 kB / 0.5144 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.3093, allocations: 8.031 kB / 0.5144 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.3094, allocations: 55.52 kB / 0.5145 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.3095, allocations: 12.58 kB / 0.5145 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.3095, allocations: 35.56 kB / 0.5145 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.3098, allocations: 122.6 kB / 0.5146 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3098, allocations: 0 / 0.5146 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3098, allocations: 0 / 0.5146 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3098, allocations: 0 / 0.5146 GB, free: 10.46 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.000514/0.3103, allocations: 414.4 kB / 0.515 GB, free: 10.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3104, allocations: 17.14 kB / 0.515 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.969e-05/0.3104, allocations: 31.97 kB / 0.5151 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.3104, allocations: 9.047 kB / 0.5151 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.3107, allocations: 206.5 kB / 0.5153 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3107, allocations: 1.688 kB / 0.5153 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.3108, allocations: 6.656 kB / 0.5153 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.3109, allocations: 73.59 kB / 0.5154 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3109, allocations: 4 kB / 0.5154 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.311, allocations: 5.125 kB / 0.5154 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.311, allocations: 1.156 kB / 0.5154 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.158e-05/0.311, allocations: 17.89 kB / 0.5154 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.3113, allocations: 283.9 kB / 0.5157 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.3115, allocations: 56.09 kB / 0.5157 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.3115, allocations: 25 kB / 0.5157 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3115, allocations: 1.312 kB / 0.5157 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.3117, allocations: 65.45 kB / 0.5158 GB, free: 9.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3117, allocations: 0 / 0.5158 GB, free: 9.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005089/0.3122, allocations: 168.8 kB / 0.516 GB, free: 9.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.3122, allocations: 79.05 kB / 0.516 GB, free: 9.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3124, allocations: 167.3 kB / 0.5162 GB, free: 8.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.3124, allocations: 26.86 kB / 0.5162 GB, free: 8.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.3124, allocations: 92.05 kB / 0.5163 GB, free: 8.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.3124, allocations: 31.53 kB / 0.5163 GB, free: 8.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.3125, allocations: 28.34 kB / 0.5164 GB, free: 8.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.3125, allocations: 322.1 kB / 0.5167 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.3126, allocations: 18.42 kB / 0.5167 GB, free: 8.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.055e-05/0.3126, allocations: 48.72 kB / 0.5167 GB, free: 8.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.3127, allocations: 59.7 kB / 0.5168 GB, free: 8.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3127, allocations: 0 / 0.5168 GB, free: 8.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001623/0.3129, allocations: 98.47 kB / 0.5169 GB, free: 8.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3129, allocations: 5.5 kB / 0.5169 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3129, allocations: 5.188 kB / 0.5169 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3129, allocations: 1.469 kB / 0.5169 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.313, allocations: 24.17 kB / 0.5169 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.313, allocations: 1.375 kB / 0.5169 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.3131, allocations: 6.688 kB / 0.5169 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3131, allocations: 2.75 kB / 0.5169 GB, free: 8.23 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.247e-05/0.3132, allocations: 123.3 kB / 0.517 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.3132, allocations: 9.453 kB / 0.5171 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.3132, allocations: 15.45 kB / 0.5171 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3132, allocations: 5.359 kB / 0.5171 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3132, allocations: 1.375 kB / 0.5171 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3132, allocations: 7.938 kB / 0.5171 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.3136, allocations: 390.5 kB / 0.5175 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3136, allocations: 1.375 kB / 0.5175 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.3136, allocations: 10.86 kB / 0.5175 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3136, allocations: 5.312 kB / 0.5175 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3136, allocations: 5.375 kB / 0.5175 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3136, allocations: 1.375 kB / 0.5175 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3136, allocations: 0 / 0.5175 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.3138, allocations: 200.3 kB / 0.5177 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.3138, allocations: 83.81 kB / 0.5178 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.3138, allocations: 13.3 kB / 0.5178 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.3139, allocations: 3.125 kB / 0.5178 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.3139, allocations: 2.75 kB / 0.5178 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3139, allocations: 8.109 kB / 0.5178 GB, free: 7.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.991e-05/0.314, allocations: 119.9 kB / 0.5179 GB, free: 7.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.314, allocations: 0 / 0.5179 GB, free: 7.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.3143, allocations: 34.11 kB / 0.5179 GB, free: 7.285 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.001996/0.3163, allocations: 1.146 MB / 0.519 GB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.3165, allocations: 55.59 kB / 0.5191 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3165, allocations: 1.375 kB / 0.5191 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.3165, allocations: 30.48 kB / 0.5191 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.3169, allocations: 30.5 kB / 0.5192 GB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.3182, allocations: 1.565 MB / 0.5207 GB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.3183, allocations: 0.6924 MB / 0.5214 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.984e-05/0.3184, allocations: 12.88 kB / 0.5214 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.3184, allocations: 35.42 kB / 0.5214 GB, free: 3.812 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3184, allocations: 0 / 0.5214 GB, free: 3.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.3446, allocations: 3.574 MB / 0.5249 GB, free: 136 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.569, allocations: 8.797 kB / 0.5249 GB, free: 128 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.555310305207968]