Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.001299/0.001299, allocations: 118.7 kB / 17.13 MB, free: 5.75 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.001351/0.001351, allocations: 192.6 kB / 20.07 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.529/1.529, allocations: 207.6 MB / 230.5 MB, free: 4.082 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.3567/0.3567, allocations: 44.24 MB / 326.5 MB, free: 6.82 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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.003441/0.003441, allocations: 75.89 kB / 462.2 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2684, allocations: 60.99 MB / 0.511 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002698/0.2711, allocations: 1.71 MB / 0.5126 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.2728, allocations: 1.427 MB / 0.514 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.2728, allocations: 0 / 0.514 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.2731, allocations: 44.8 kB / 0.5141 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.2734, allocations: 54.45 kB / 0.5141 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.2736, allocations: 85.53 kB / 0.5142 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.2738, allocations: 89.27 kB / 0.5143 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.2739, allocations: 17.27 kB / 0.5143 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.961e-05/0.274, allocations: 48.31 kB / 0.5144 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.2741, allocations: 40.75 kB / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.2741, allocations: 4 kB / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.2743, allocations: 69.33 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.2743, allocations: 15.55 kB / 0.5145 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.2744, allocations: 26.94 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.2746, allocations: 130.1 kB / 0.5146 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2746, allocations: 1.812 kB / 0.5146 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2746, allocations: 0 / 0.5146 GB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.2746, allocations: 0 / 0.5146 GB, free: 10.34 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.0005341/0.2751, allocations: 406.7 kB / 0.515 GB, free: 9.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.2752, allocations: 12.98 kB / 0.515 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.2752, allocations: 44.23 kB / 0.5151 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.2752, allocations: 7.766 kB / 0.5151 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.2755, allocations: 201.9 kB / 0.5153 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2755, allocations: 5.75 kB / 0.5153 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.2756, allocations: 6.688 kB / 0.5153 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.2757, allocations: 70.52 kB / 0.5154 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2757, allocations: 0 / 0.5154 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.2757, allocations: 1.375 kB / 0.5154 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2757, allocations: 0 / 0.5154 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.535e-05/0.2758, allocations: 22.92 kB / 0.5154 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.2761, allocations: 288 kB / 0.5157 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.2763, allocations: 64.55 kB / 0.5157 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.2763, allocations: 11.73 kB / 0.5157 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.2764, allocations: 5.375 kB / 0.5157 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.2765, allocations: 65.08 kB / 0.5158 GB, free: 9.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.2765, allocations: 3.984 kB / 0.5158 GB, free: 9.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005022/0.277, allocations: 173 kB / 0.516 GB, free: 9.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.277, allocations: 82.48 kB / 0.516 GB, free: 8.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.2771, allocations: 160.2 kB / 0.5162 GB, free: 8.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2772, allocations: 31.08 kB / 0.5162 GB, free: 8.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.2772, allocations: 94.88 kB / 0.5163 GB, free: 8.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.2772, allocations: 23.92 kB / 0.5163 GB, free: 8.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.2773, allocations: 24.53 kB / 0.5164 GB, free: 8.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.2773, allocations: 321.5 kB / 0.5167 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.437e-05/0.2774, allocations: 23.86 kB / 0.5167 GB, free: 8.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.2774, allocations: 45.09 kB / 0.5167 GB, free: 8.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.2775, allocations: 62.08 kB / 0.5168 GB, free: 8.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2775, allocations: 1.25 kB / 0.5168 GB, free: 8.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001641/0.2777, allocations: 102 kB / 0.5169 GB, free: 8.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2777, allocations: 4.938 kB / 0.5169 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2777, allocations: 1.875 kB / 0.5169 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2777, allocations: 4 kB / 0.5169 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.2778, allocations: 18.2 kB / 0.5169 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.2778, allocations: 0 / 0.5169 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.2778, allocations: 10.69 kB / 0.5169 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.2779, allocations: 2.594 kB / 0.5169 GB, free: 8.113 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.284e-05/0.2779, allocations: 120.5 kB / 0.517 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.2779, allocations: 8.766 kB / 0.5171 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.278, allocations: 12.12 kB / 0.5171 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.278, allocations: 5.219 kB / 0.5171 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.278, allocations: 0 / 0.5171 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.278, allocations: 5.188 kB / 0.5171 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.2783, allocations: 390.7 kB / 0.5175 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2783, allocations: 0 / 0.5175 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.2784, allocations: 12.09 kB / 0.5175 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2784, allocations: 5.312 kB / 0.5175 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.2784, allocations: 1.562 kB / 0.5175 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2784, allocations: 5.406 kB / 0.5175 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2784, allocations: 11.95 kB / 0.5175 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.2786, allocations: 204.7 kB / 0.5177 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.2786, allocations: 82.78 kB / 0.5178 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.2786, allocations: 6.344 kB / 0.5178 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.461e-05/0.2787, allocations: 6.531 kB / 0.5178 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.2787, allocations: 11.11 kB / 0.5178 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2788, allocations: 7.344 kB / 0.5178 GB, free: 7.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.449e-05/0.2788, allocations: 116.3 kB / 0.5179 GB, free: 7.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2788, allocations: 0 / 0.5179 GB, free: 7.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000271/0.2791, allocations: 29.44 kB / 0.5179 GB, free: 7.168 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.001966/0.2811, allocations: 1.152 MB / 0.5191 GB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.2813, allocations: 56.75 kB / 0.5191 GB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2813, allocations: 0 / 0.5191 GB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.281e-05/0.2813, allocations: 23.06 kB / 0.5191 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.2817, allocations: 30.03 kB / 0.5192 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2829, allocations: 1.559 MB / 0.5207 GB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.283, allocations: 0.7002 MB / 0.5214 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.283, allocations: 12.88 kB / 0.5214 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.2831, allocations: 31.41 kB / 0.5214 GB, free: 3.812 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.2831, allocations: 8 kB / 0.5214 GB, free: 3.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.3076, allocations: 3.57 MB / 0.5249 GB, free: 132 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.463, allocations: 4.938 kB / 0.5249 GB, free: 128 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.446824382059276]