Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.001648/0.001648, allocations: 117.9 kB / 17.13 MB, free: 5.777 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.001867/0.001867, allocations: 195.7 kB / 20.08 MB, free: 2.867 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.551/1.551, allocations: 207.6 MB / 230.5 MB, free: 3.965 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.3616/0.3616, allocations: 44.23 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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",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.002204/0.002204, allocations: 71.91 kB / 462.2 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3176, allocations: 60.99 MB / 0.511 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002961/0.3205, allocations: 1.712 MB / 0.5126 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3217, allocations: 0.8147 MB / 0.5134 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.3218, allocations: 1.156 kB / 0.5134 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.3221, allocations: 46.05 kB / 0.5135 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.3223, allocations: 52.92 kB / 0.5135 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.3226, allocations: 90.55 kB / 0.5136 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.3228, allocations: 93.28 kB / 0.5137 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3229, allocations: 11.98 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.203e-05/0.3229, allocations: 39.11 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.323, allocations: 34.02 kB / 0.5138 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.323, allocations: 7.719 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.113e-05/0.3231, allocations: 39.02 kB / 0.5138 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.3232, allocations: 27.8 kB / 0.5139 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.3232, allocations: 30.7 kB / 0.5139 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.3234, allocations: 119 kB / 0.514 GB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3234, allocations: 0 / 0.514 GB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3234, allocations: 3.938 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3234, allocations: 0 / 0.514 GB, free: 10.89 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.0004852/0.3239, allocations: 416.4 kB / 0.5144 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.324, allocations: 16.98 kB / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.437e-05/0.324, allocations: 32.56 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.324, allocations: 12.47 kB / 0.5145 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3243, allocations: 212.1 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3243, allocations: 2.156 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.3243, allocations: 5.688 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3244, allocations: 58.17 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3244, allocations: 0 / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3244, allocations: 0 / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3244, allocations: 5.938 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.105e-05/0.3245, allocations: 18.05 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.3248, allocations: 282.3 kB / 0.515 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.325, allocations: 63.61 kB / 0.5151 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.325, allocations: 17.08 kB / 0.5151 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.325, allocations: 7.984 kB / 0.5151 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.3252, allocations: 74.05 kB / 0.5152 GB, free: 9.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3252, allocations: 0 / 0.5152 GB, free: 9.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005715/0.3258, allocations: 169 kB / 0.5153 GB, free: 9.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.3258, allocations: 52.78 kB / 0.5154 GB, free: 9.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.326, allocations: 190.2 kB / 0.5156 GB, free: 9.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.326, allocations: 31.08 kB / 0.5156 GB, free: 9.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.326, allocations: 101.6 kB / 0.5157 GB, free: 9.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.3261, allocations: 18.61 kB / 0.5157 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.3261, allocations: 28.58 kB / 0.5157 GB, free: 9.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.3262, allocations: 323 kB / 0.5161 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.3262, allocations: 19 kB / 0.5161 GB, free: 8.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.3263, allocations: 39.39 kB / 0.5161 GB, free: 8.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.3264, allocations: 62.52 kB / 0.5162 GB, free: 8.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3264, allocations: 0 / 0.5162 GB, free: 8.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.3266, allocations: 116.1 kB / 0.5163 GB, free: 8.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3266, allocations: 5.5 kB / 0.5163 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3266, allocations: 0 / 0.5163 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.3266, allocations: 1.375 kB / 0.5163 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.3267, allocations: 13.62 kB / 0.5163 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3267, allocations: 1.312 kB / 0.5163 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.3268, allocations: 17.23 kB / 0.5163 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.3268, allocations: 3.969 kB / 0.5163 GB, free: 8.699 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.738e-05/0.3269, allocations: 126 kB / 0.5164 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.3269, allocations: 8.422 kB / 0.5164 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.3269, allocations: 17.95 kB / 0.5165 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3269, allocations: 0.9062 kB / 0.5165 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3269, allocations: 1.062 kB / 0.5165 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.327, allocations: 7.922 kB / 0.5165 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.3273, allocations: 400.9 kB / 0.5169 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3273, allocations: 1.219 kB / 0.5169 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.3274, allocations: 12.23 kB / 0.5169 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3274, allocations: 3.938 kB / 0.5169 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3274, allocations: 1.75 kB / 0.5169 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3274, allocations: 1.312 kB / 0.5169 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3274, allocations: 5.375 kB / 0.5169 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.3276, allocations: 204.6 kB / 0.5171 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.3276, allocations: 87.52 kB / 0.5172 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.3276, allocations: 5.219 kB / 0.5172 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.3277, allocations: 6.703 kB / 0.5172 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.3277, allocations: 6.438 kB / 0.5172 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3278, allocations: 3.719 kB / 0.5172 GB, free: 7.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.3279, allocations: 145 kB / 0.5173 GB, free: 7.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3279, allocations: 1.469 kB / 0.5173 GB, free: 7.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.3281, allocations: 24 kB / 0.5173 GB, free: 7.742 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.001923/0.33, allocations: 1.111 MB / 0.5184 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3302, allocations: 57.38 kB / 0.5185 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3302, allocations: 0 / 0.5185 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.646e-05/0.3303, allocations: 27.11 kB / 0.5185 GB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3307, allocations: 33.38 kB / 0.5185 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.3321, allocations: 1.623 MB / 0.5201 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.3322, allocations: 0.7002 MB / 0.5208 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.3323, allocations: 21.19 kB / 0.5208 GB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.3323, allocations: 35.42 kB / 0.5209 GB, free: 4.387 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3323, allocations: 0 / 0.5209 GB, free: 4.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.3549, allocations: 3.396 MB / 0.5242 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.462, allocations: 11.94 kB / 0.5242 GB, free: 0.8984 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.439496634993702]