Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.001544/0.001544, allocations: 112.7 kB / 17.13 MB, free: 5.754 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.00179/0.00179, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.497/1.497, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.3931/0.3931, allocations: 44.23 MB / 326.5 MB, free: 6.816 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.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",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.002745/0.002745, allocations: 75.89 kB / 462.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3151, allocations: 60.99 MB / 0.511 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002959/0.318, allocations: 1.712 MB / 0.5126 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3193, allocations: 0.8147 MB / 0.5134 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.919e-05/0.3194, allocations: 7.875 kB / 0.5134 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.3198, allocations: 48.86 kB / 0.5135 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.32, allocations: 53.45 kB / 0.5135 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.3202, allocations: 81.48 kB / 0.5136 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3204, allocations: 101.6 kB / 0.5137 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3205, allocations: 7.969 kB / 0.5137 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/0.3206, allocations: 43.83 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.887e-05/0.3207, allocations: 38.52 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.3207, allocations: 3.594 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.64e-05/0.3208, allocations: 44.08 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.3208, allocations: 17.95 kB / 0.5139 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.3209, allocations: 36.39 kB / 0.5139 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.3211, allocations: 120 kB / 0.514 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3211, allocations: 0 / 0.514 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3211, allocations: 0 / 0.514 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.3211, allocations: 0 / 0.514 GB, free: 10.8 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.0004971/0.3216, allocations: 420.1 kB / 0.5144 GB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3217, allocations: 13.42 kB / 0.5144 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.004e-05/0.3217, allocations: 31.75 kB / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.3217, allocations: 10.33 kB / 0.5145 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.322, allocations: 212.5 kB / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.322, allocations: 5.344 kB / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.322, allocations: 6.125 kB / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3222, allocations: 54.52 kB / 0.5147 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.3222, allocations: 4 kB / 0.5147 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3222, allocations: 1.156 kB / 0.5147 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.3222, allocations: 5.078 kB / 0.5147 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.3223, allocations: 14.22 kB / 0.5148 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.3226, allocations: 294.3 kB / 0.515 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.3228, allocations: 60.2 kB / 0.5151 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.3228, allocations: 24.69 kB / 0.5151 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.3228, allocations: 5.016 kB / 0.5151 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.323, allocations: 65.8 kB / 0.5152 GB, free: 9.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.323, allocations: 0 / 0.5152 GB, free: 9.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005205/0.3235, allocations: 173.5 kB / 0.5154 GB, free: 9.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.3235, allocations: 52.59 kB / 0.5154 GB, free: 9.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.3237, allocations: 208.1 kB / 0.5156 GB, free: 9.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.3237, allocations: 25.7 kB / 0.5156 GB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.3237, allocations: 105.8 kB / 0.5157 GB, free: 9.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.3238, allocations: 23.7 kB / 0.5158 GB, free: 9.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.3238, allocations: 25.39 kB / 0.5158 GB, free: 9.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.3239, allocations: 322 kB / 0.5161 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.3239, allocations: 27.09 kB / 0.5161 GB, free: 8.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.324, allocations: 38.27 kB / 0.5161 GB, free: 8.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.693e-05/0.3241, allocations: 59.17 kB / 0.5162 GB, free: 8.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3241, allocations: 0 / 0.5162 GB, free: 8.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001639/0.3242, allocations: 108.4 kB / 0.5163 GB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3242, allocations: 5 kB / 0.5163 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3242, allocations: 0 / 0.5163 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3243, allocations: 1.781 kB / 0.5163 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-05/0.3243, allocations: 17.16 kB / 0.5163 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3243, allocations: 1.25 kB / 0.5163 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.3244, allocations: 18.67 kB / 0.5163 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.3244, allocations: 1.531 kB / 0.5163 GB, free: 8.594 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.655e-05/0.3245, allocations: 124.8 kB / 0.5165 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.3245, allocations: 9.453 kB / 0.5165 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.3245, allocations: 22.83 kB / 0.5165 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3245, allocations: 1.312 kB / 0.5165 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3245, allocations: 0 / 0.5165 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3245, allocations: 7.938 kB / 0.5165 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.3249, allocations: 394.5 kB / 0.5169 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3249, allocations: 1.375 kB / 0.5169 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.3249, allocations: 10.86 kB / 0.5169 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3249, allocations: 5.312 kB / 0.5169 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.325, allocations: 5.312 kB / 0.5169 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.325, allocations: 1.375 kB / 0.5169 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.325, allocations: 0 / 0.5169 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.3252, allocations: 204.3 kB / 0.5171 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.3252, allocations: 89.14 kB / 0.5172 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.3252, allocations: 9.297 kB / 0.5172 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.3253, allocations: 1.375 kB / 0.5172 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.3253, allocations: 4.125 kB / 0.5172 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3253, allocations: 10.73 kB / 0.5172 GB, free: 7.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.3254, allocations: 148.9 kB / 0.5174 GB, free: 7.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3254, allocations: 0 / 0.5174 GB, free: 7.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.3257, allocations: 28.42 kB / 0.5174 GB, free: 7.637 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.001957/0.3277, allocations: 1.102 MB / 0.5185 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.3278, allocations: 63.45 kB / 0.5185 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3278, allocations: 0 / 0.5185 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.371e-05/0.3279, allocations: 24.48 kB / 0.5185 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.3282, allocations: 36.33 kB / 0.5186 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.3297, allocations: 1.657 MB / 0.5202 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.3299, allocations: 0.708 MB / 0.5209 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.029e-05/0.3299, allocations: 25.17 kB / 0.5209 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.33, allocations: 35.42 kB / 0.5209 GB, free: 4.312 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.33, allocations: 0 / 0.5209 GB, free: 4.312 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.3545, allocations: 3.458 MB / 0.5243 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.531, allocations: 5.172 kB / 0.5243 GB, free: 0.7734 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.528473524842411]