Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.001713/0.001713, allocations: 119.9 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.001832/0.001832, 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.605/1.605, 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.3404/0.3404, allocations: 44.24 MB / 326.6 MB, free: 6.859 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.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",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.002532/0.002532, allocations: 79.88 kB / 462.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3201, allocations: 60.99 MB / 0.511 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00274/0.3229, allocations: 1.667 MB / 0.5126 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.324, allocations: 0.7949 MB / 0.5134 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.3241, allocations: 3.938 kB / 0.5134 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.3244, allocations: 79.05 kB / 0.5135 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.3247, allocations: 82.73 kB / 0.5135 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.3249, allocations: 82.34 kB / 0.5136 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3251, allocations: 110.3 kB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.292e-05/0.3251, allocations: 7.047 kB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.3252, allocations: 53.08 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.872e-05/0.3253, allocations: 55.19 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3253, allocations: 4.25 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-05/0.3254, allocations: 26.58 kB / 0.5139 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.3255, allocations: 23.69 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.3255, allocations: 31.28 kB / 0.5139 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.3257, allocations: 112.3 kB / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3257, allocations: 0 / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3257, allocations: 1.125 kB / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3257, allocations: 4 kB / 0.514 GB, free: 10.92 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004952/0.3262, allocations: 407.5 kB / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3263, allocations: 14.64 kB / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.3263, allocations: 34.75 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3263, allocations: 9.547 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.3266, allocations: 212 kB / 0.5147 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3266, allocations: 1.469 kB / 0.5147 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.3266, allocations: 6.375 kB / 0.5147 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3268, allocations: 58.89 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3268, allocations: 0 / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3268, allocations: 1.188 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3268, allocations: 0 / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.108e-05/0.3268, allocations: 16.55 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.327, allocations: 188.5 kB / 0.5149 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.3272, allocations: 52.83 kB / 0.515 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.3272, allocations: 19.77 kB / 0.515 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.3272, allocations: 5.938 kB / 0.515 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.3274, allocations: 68.88 kB / 0.5151 GB, free: 9.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.3274, allocations: 0 / 0.5151 GB, free: 9.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003003/0.3277, allocations: 95.61 kB / 0.5152 GB, free: 9.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3277, allocations: 51.41 kB / 0.5152 GB, free: 9.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3279, allocations: 220.6 kB / 0.5154 GB, free: 9.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.3279, allocations: 30.86 kB / 0.5154 GB, free: 9.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.328, allocations: 105.1 kB / 0.5155 GB, free: 9.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.328, allocations: 10.34 kB / 0.5156 GB, free: 9.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.328, allocations: 23.23 kB / 0.5156 GB, free: 9.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.3281, allocations: 329.4 kB / 0.5159 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.3281, allocations: 11.81 kB / 0.5159 GB, free: 9.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.3282, allocations: 31.58 kB / 0.5159 GB, free: 9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.783e-05/0.3283, allocations: 43.61 kB / 0.516 GB, free: 8.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3283, allocations: 9.312 kB / 0.516 GB, free: 8.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001382/0.3284, allocations: 79.83 kB / 0.5161 GB, free: 8.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3284, allocations: 4.125 kB / 0.5161 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3284, allocations: 1.375 kB / 0.5161 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3285, allocations: 1.375 kB / 0.5161 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.3285, allocations: 16.27 kB / 0.5161 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3285, allocations: 5.516 kB / 0.5161 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.3286, allocations: 6.703 kB / 0.5161 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.3286, allocations: 1.375 kB / 0.5161 GB, free: 8.891 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 (7): * Single equations (assignments): 7 * 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.643e-05/0.3287, allocations: 140.6 kB / 0.5162 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.3287, allocations: 9.453 kB / 0.5162 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.3287, allocations: 13.12 kB / 0.5163 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3287, allocations: 1.375 kB / 0.5163 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3287, allocations: 0 / 0.5163 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3287, allocations: 5.375 kB / 0.5163 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.3289, allocations: 190.1 kB / 0.5164 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3289, allocations: 0 / 0.5164 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.3289, allocations: 2.75 kB / 0.5164 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3289, allocations: 1.375 kB / 0.5164 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3289, allocations: 1.375 kB / 0.5164 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3289, allocations: 0 / 0.5164 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3289, allocations: 0 / 0.5164 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.329, allocations: 121.9 kB / 0.5166 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.3291, allocations: 87.75 kB / 0.5166 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.3291, allocations: 5.359 kB / 0.5167 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.425e-05/0.3291, allocations: 1.375 kB / 0.5167 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.3292, allocations: 2.75 kB / 0.5167 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3292, allocations: 6.875 kB / 0.5167 GB, free: 8.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.3293, allocations: 163.3 kB / 0.5168 GB, free: 8.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3293, allocations: 0 / 0.5168 GB, free: 8.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.3295, allocations: 12.38 kB / 0.5168 GB, free: 8.188 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001762/0.3313, allocations: 0.9653 MB / 0.5178 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.3315, allocations: 43.3 kB / 0.5178 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3315, allocations: 0 / 0.5178 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.685e-05/0.3315, allocations: 17.73 kB / 0.5178 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3318, allocations: 32.53 kB / 0.5179 GB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3332, allocations: 1.537 MB / 0.5194 GB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.3334, allocations: 0.7003 MB / 0.52 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.3334, allocations: 15.7 kB / 0.5201 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.3335, allocations: 37.78 kB / 0.5201 GB, free: 5.184 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3335, allocations: 0 / 0.5201 GB, free: 5.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.3593, allocations: 3.188 MB / 0.5232 GB, free: 1.934 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.478, allocations: 12.72 kB / 0.5232 GB, free: 1.922 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.529052357655019]