Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.001285/0.001285, 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.001271/0.001271, 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.51/1.51, allocations: 207.6 MB / 230.5 MB, free: 4.008 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.3374/0.3374, allocations: 44.23 MB / 326.5 MB, free: 7.223 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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.002101/0.002101, allocations: 71.91 kB / 462.2 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3398, allocations: 61 MB / 0.511 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003471/0.3432, allocations: 1.711 MB / 0.5126 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3445, allocations: 0.807 MB / 0.5134 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.3446, allocations: 1.062 kB / 0.5134 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.345, allocations: 57.83 kB / 0.5135 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.3452, allocations: 64.52 kB / 0.5136 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.3454, allocations: 85.12 kB / 0.5136 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3456, allocations: 98.45 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.3457, allocations: 11.81 kB / 0.5137 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.079e-05/0.3458, allocations: 39.73 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.3458, allocations: 30.62 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3459, allocations: 4.219 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.06e-05/0.346, allocations: 45.19 kB / 0.5139 GB, free: 11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.346, allocations: 30.36 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.3461, allocations: 36.31 kB / 0.5139 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.3463, allocations: 142.3 kB / 0.5141 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3463, allocations: 0 / 0.5141 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3463, allocations: 1.938 kB / 0.5141 GB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3463, allocations: 4 kB / 0.5141 GB, free: 10.86 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.0005032/0.3468, allocations: 445.6 kB / 0.5145 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3468, allocations: 13.39 kB / 0.5145 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.669e-05/0.3469, allocations: 36.39 kB / 0.5145 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.3469, allocations: 13.88 kB / 0.5145 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.3472, allocations: 218.9 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3472, allocations: 1.469 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.3472, allocations: 6.312 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3473, allocations: 61.98 kB / 0.5148 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3474, allocations: 0 / 0.5148 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3474, allocations: 1.094 kB / 0.5148 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3474, allocations: 1.781 kB / 0.5148 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.32e-05/0.3474, allocations: 25.83 kB / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.3478, allocations: 294.1 kB / 0.5151 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.348, allocations: 56.72 kB / 0.5152 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.348, allocations: 20.44 kB / 0.5152 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.3481, allocations: 1.125 kB / 0.5152 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.3482, allocations: 68.61 kB / 0.5153 GB, free: 9.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3482, allocations: 1.062 kB / 0.5153 GB, free: 9.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005634/0.3488, allocations: 183.5 kB / 0.5154 GB, free: 9.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.3488, allocations: 56.62 kB / 0.5155 GB, free: 9.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.3491, allocations: 267.5 kB / 0.5158 GB, free: 9.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.3491, allocations: 29.7 kB / 0.5158 GB, free: 9.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.3492, allocations: 112.1 kB / 0.5159 GB, free: 9.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.3492, allocations: 18.86 kB / 0.5159 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.3492, allocations: 25.11 kB / 0.5159 GB, free: 9.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.3493, allocations: 327 kB / 0.5162 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.358e-05/0.3494, allocations: 23.77 kB / 0.5163 GB, free: 8.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.3494, allocations: 34.73 kB / 0.5163 GB, free: 8.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.3495, allocations: 59.55 kB / 0.5164 GB, free: 8.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3495, allocations: 0 / 0.5164 GB, free: 8.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001859/0.3497, allocations: 112.7 kB / 0.5165 GB, free: 8.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3497, allocations: 5.312 kB / 0.5165 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3497, allocations: 5.625 kB / 0.5165 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3498, allocations: 5.281 kB / 0.5165 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.3498, allocations: 24.67 kB / 0.5165 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3499, allocations: 1.375 kB / 0.5165 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.3499, allocations: 9.312 kB / 0.5165 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.3499, allocations: 2.75 kB / 0.5165 GB, free: 8.574 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 8.29e-05/0.35, allocations: 134.3 kB / 0.5166 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.35, allocations: 14.78 kB / 0.5167 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.3501, allocations: 20.27 kB / 0.5167 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3501, allocations: 5.375 kB / 0.5167 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3501, allocations: 0 / 0.5167 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3501, allocations: 13.23 kB / 0.5167 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.3504, allocations: 406.6 kB / 0.5171 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3504, allocations: 0 / 0.5171 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.3505, allocations: 12.19 kB / 0.5171 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3505, allocations: 5.312 kB / 0.5171 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3505, allocations: 1.375 kB / 0.5171 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3505, allocations: 1.375 kB / 0.5171 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3505, allocations: 4.031 kB / 0.5171 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.3507, allocations: 201.7 kB / 0.5173 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.3507, allocations: 93.12 kB / 0.5174 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.3508, allocations: 5.312 kB / 0.5174 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.3508, allocations: 6.75 kB / 0.5174 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.3509, allocations: 10.73 kB / 0.5174 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.3509, allocations: 4.125 kB / 0.5174 GB, free: 7.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.351, allocations: 194.6 kB / 0.5176 GB, free: 7.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.351, allocations: 5.312 kB / 0.5176 GB, free: 7.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3513, allocations: 20.5 kB / 0.5176 GB, free: 7.586 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.001938/0.3532, allocations: 1.111 MB / 0.5187 GB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3534, allocations: 65.16 kB / 0.5188 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3534, allocations: 4.062 kB / 0.5188 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.3535, allocations: 22.47 kB / 0.5188 GB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.3539, allocations: 29.5 kB / 0.5188 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.3555, allocations: 1.805 MB / 0.5206 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.3556, allocations: 0.7197 MB / 0.5213 GB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.313e-05/0.3557, allocations: 16.88 kB / 0.5213 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.3557, allocations: 39.42 kB / 0.5213 GB, free: 3.906 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3557, allocations: 0 / 0.5213 GB, free: 3.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.3803, allocations: 3.736 MB / 0.525 GB, free: 100 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.544, allocations: 0 / 0.525 GB, free: 100 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.421447951812297]