Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.002013/0.002013, allocations: 112.8 kB / 17.13 MB, free: 5.949 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.002484/0.002484, allocations: 191.7 kB / 20.08 MB, free: 3.012 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.597/1.597, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.3732/0.3732, allocations: 44.24 MB / 326.5 MB, free: 6.836 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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",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.002379/0.002379, allocations: 72.45 kB / 462.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3037, allocations: 60.99 MB / 0.511 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003347/0.3071, allocations: 1.722 MB / 0.5126 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3082, allocations: 0.8032 MB / 0.5134 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.3083, allocations: 5.406 kB / 0.5134 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.3087, allocations: 89.5 kB / 0.5135 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.3089, allocations: 78.84 kB / 0.5136 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.3091, allocations: 88.66 kB / 0.5137 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3093, allocations: 108.5 kB / 0.5138 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.3094, allocations: 7.094 kB / 0.5138 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.3095, allocations: 58.03 kB / 0.5138 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3096, allocations: 68.95 kB / 0.5139 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3096, allocations: 4.062 kB / 0.5139 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.3097, allocations: 42.05 kB / 0.514 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.3097, allocations: 36.56 kB / 0.514 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.3098, allocations: 35.84 kB / 0.514 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.31, allocations: 114 kB / 0.5141 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.31, allocations: 4.641 kB / 0.5141 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.31, allocations: 0 / 0.5141 GB, free: 10.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.31, allocations: 5.094 kB / 0.5141 GB, free: 10.97 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.0005135/0.3105, allocations: 426 kB / 0.5146 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3106, allocations: 14.45 kB / 0.5146 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.3106, allocations: 32.06 kB / 0.5146 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.3106, allocations: 13.56 kB / 0.5146 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.3109, allocations: 220.2 kB / 0.5148 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3109, allocations: 2.906 kB / 0.5148 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.3109, allocations: 6.125 kB / 0.5148 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3111, allocations: 53.86 kB / 0.5149 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3111, allocations: 0 / 0.5149 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3111, allocations: 1.125 kB / 0.5149 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.3111, allocations: 4 kB / 0.5149 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.082e-05/0.3112, allocations: 19.05 kB / 0.5149 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.3115, allocations: 295.7 kB / 0.5152 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3117, allocations: 52.89 kB / 0.5152 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.3117, allocations: 24.53 kB / 0.5153 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.3117, allocations: 1.094 kB / 0.5153 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.3119, allocations: 69.61 kB / 0.5153 GB, free: 9.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.3119, allocations: 3.984 kB / 0.5153 GB, free: 9.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000569/0.3125, allocations: 178.3 kB / 0.5155 GB, free: 9.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.3125, allocations: 57.31 kB / 0.5156 GB, free: 9.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.3127, allocations: 231.6 kB / 0.5158 GB, free: 9.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.3127, allocations: 33.69 kB / 0.5158 GB, free: 9.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.3128, allocations: 103.1 kB / 0.5159 GB, free: 9.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.3128, allocations: 26.38 kB / 0.5159 GB, free: 9.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.3128, allocations: 21.03 kB / 0.516 GB, free: 9.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.3129, allocations: 327.6 kB / 0.5163 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.313, allocations: 22.48 kB / 0.5163 GB, free: 8.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.313, allocations: 39.94 kB / 0.5163 GB, free: 8.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.3131, allocations: 62.55 kB / 0.5164 GB, free: 8.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3131, allocations: 0 / 0.5164 GB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000165/0.3133, allocations: 100.3 kB / 0.5165 GB, free: 8.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3133, allocations: 5.5 kB / 0.5165 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3133, allocations: 5.312 kB / 0.5165 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3133, allocations: 0 / 0.5165 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.3134, allocations: 21.67 kB / 0.5165 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3134, allocations: 5.406 kB / 0.5165 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.3135, allocations: 5.312 kB / 0.5165 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3135, allocations: 2.906 kB / 0.5165 GB, free: 8.73 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.609e-05/0.3136, allocations: 130.2 kB / 0.5166 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.3136, allocations: 9.453 kB / 0.5167 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.3136, allocations: 24.25 kB / 0.5167 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3136, allocations: 1.375 kB / 0.5167 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.3136, allocations: 0 / 0.5167 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3136, allocations: 3.938 kB / 0.5167 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.314, allocations: 401.3 kB / 0.5171 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.314, allocations: 0 / 0.5171 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.314, allocations: 12.23 kB / 0.5171 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.314, allocations: 3.938 kB / 0.5171 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.314, allocations: 6.75 kB / 0.5171 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.314, allocations: 3.938 kB / 0.5171 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.314, allocations: 1.375 kB / 0.5171 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.3142, allocations: 200.3 kB / 0.5173 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.3143, allocations: 89.19 kB / 0.5174 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3143, allocations: 13.23 kB / 0.5174 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.3144, allocations: 2.75 kB / 0.5174 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.3144, allocations: 2.75 kB / 0.5174 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3144, allocations: 8.109 kB / 0.5174 GB, free: 7.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3145, allocations: 164.9 kB / 0.5176 GB, free: 7.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3145, allocations: 4 kB / 0.5176 GB, free: 7.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.3148, allocations: 24.44 kB / 0.5176 GB, free: 7.762 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.0018/0.3166, allocations: 1.115 MB / 0.5187 GB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.3167, allocations: 51.89 kB / 0.5187 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3167, allocations: 0 / 0.5187 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/0.3168, allocations: 23.2 kB / 0.5187 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.3172, allocations: 41.5 kB / 0.5188 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3185, allocations: 1.736 MB / 0.5205 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.3186, allocations: 0.708 MB / 0.5212 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.686e-05/0.3187, allocations: 16.89 kB / 0.5212 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.3187, allocations: 39.42 kB / 0.5212 GB, free: 4.148 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3188, allocations: 0 / 0.5212 GB, free: 4.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.341, allocations: 3.561 MB / 0.5247 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.524, allocations: 4.875 kB / 0.5247 GB, free: 0.5117 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.688514199107885]