Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.001811/0.001811, allocations: 116.8 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.002101/0.002101, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.543/1.543, allocations: 207.6 MB / 230.5 MB, free: 4.047 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.3387/0.3387, allocations: 44.23 MB / 326.5 MB, free: 6.852 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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",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.002114/0.002114, allocations: 75.89 kB / 462.2 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2847, allocations: 60.99 MB / 0.511 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002921/0.2876, allocations: 1.675 MB / 0.5126 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.2889, allocations: 0.7857 MB / 0.5134 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.747e-05/0.289, allocations: 5.781 kB / 0.5134 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.2894, allocations: 62.92 kB / 0.5134 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.2896, allocations: 66.14 kB / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.2899, allocations: 85.08 kB / 0.5136 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.2901, allocations: 92.22 kB / 0.5137 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.799e-05/0.2901, allocations: 14.45 kB / 0.5137 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.2902, allocations: 50.83 kB / 0.5137 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.2903, allocations: 48.44 kB / 0.5138 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.2903, allocations: 4.438 kB / 0.5138 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.169e-05/0.2904, allocations: 27.83 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.2905, allocations: 17.55 kB / 0.5138 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.2905, allocations: 31.06 kB / 0.5139 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.2907, allocations: 109.9 kB / 0.514 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2907, allocations: 0 / 0.514 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2907, allocations: 0 / 0.514 GB, free: 10.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.2907, allocations: 0 / 0.514 GB, free: 10.97 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.0004639/0.2912, allocations: 407.5 kB / 0.5144 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2912, allocations: 12.36 kB / 0.5144 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.2912, allocations: 30.75 kB / 0.5144 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.2913, allocations: 19.31 kB / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.2915, allocations: 208.9 kB / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2916, allocations: 2 kB / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.2916, allocations: 5.531 kB / 0.5146 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.2917, allocations: 54.83 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2917, allocations: 1.656 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2917, allocations: 0 / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2917, allocations: 0 / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.315e-05/0.2918, allocations: 16.58 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.2919, allocations: 178.1 kB / 0.5149 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.2921, allocations: 53.73 kB / 0.5149 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.2921, allocations: 23.72 kB / 0.5149 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.2922, allocations: 1.375 kB / 0.5149 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.2923, allocations: 67.7 kB / 0.515 GB, free: 9.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.2923, allocations: 1.375 kB / 0.515 GB, free: 9.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002637/0.2926, allocations: 90.75 kB / 0.5151 GB, free: 9.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.2926, allocations: 52.78 kB / 0.5151 GB, free: 9.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2927, allocations: 196.8 kB / 0.5153 GB, free: 9.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.2927, allocations: 27.08 kB / 0.5154 GB, free: 9.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.2928, allocations: 100.2 kB / 0.5154 GB, free: 9.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.2928, allocations: 10.7 kB / 0.5155 GB, free: 9.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.2928, allocations: 19.22 kB / 0.5155 GB, free: 9.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.642e-05/0.2929, allocations: 325.5 kB / 0.5158 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.2929, allocations: 16.23 kB / 0.5158 GB, free: 9.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.966e-05/0.293, allocations: 27.34 kB / 0.5158 GB, free: 9.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.379e-05/0.2931, allocations: 43.83 kB / 0.5159 GB, free: 9.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2931, allocations: 7.938 kB / 0.5159 GB, free: 9.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001288/0.2932, allocations: 83.81 kB / 0.516 GB, free: 8.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2932, allocations: 8.375 kB / 0.516 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2932, allocations: 5.078 kB / 0.516 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2932, allocations: 1.125 kB / 0.516 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.2933, allocations: 8.094 kB / 0.516 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2933, allocations: 5.031 kB / 0.516 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.2934, allocations: 6.969 kB / 0.516 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.2934, allocations: 6.469 kB / 0.516 GB, free: 8.965 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.078e-05/0.2934, allocations: 132.8 kB / 0.5161 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.2935, allocations: 8.172 kB / 0.5161 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.2935, allocations: 16.14 kB / 0.5161 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2935, allocations: 1.031 kB / 0.5161 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2935, allocations: 0 / 0.5161 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2935, allocations: 4.875 kB / 0.5162 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.136e-05/0.2936, allocations: 188.4 kB / 0.5163 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2936, allocations: 0 / 0.5163 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.2936, allocations: 3.594 kB / 0.5163 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2936, allocations: 0 / 0.5163 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2936, allocations: 1.094 kB / 0.5163 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2936, allocations: 0.9062 kB / 0.5163 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2936, allocations: 0 / 0.5163 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.2938, allocations: 114.3 kB / 0.5164 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.2938, allocations: 91.55 kB / 0.5165 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.2938, allocations: 1.344 kB / 0.5165 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.2939, allocations: 1.375 kB / 0.5165 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.2939, allocations: 5.438 kB / 0.5165 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2939, allocations: 6.75 kB / 0.5165 GB, free: 8.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.94e-05/0.294, allocations: 145.5 kB / 0.5167 GB, free: 8.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.294, allocations: 0 / 0.5167 GB, free: 8.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00021/0.2942, allocations: 16.16 kB / 0.5167 GB, free: 8.273 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.001579/0.2958, allocations: 0.9633 MB / 0.5176 GB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.2959, allocations: 46.34 kB / 0.5177 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2959, allocations: 1.156 kB / 0.5177 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.388e-05/0.296, allocations: 13.62 kB / 0.5177 GB, free: 7.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.2962, allocations: 32.75 kB / 0.5177 GB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.2975, allocations: 1.481 MB / 0.5192 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.2976, allocations: 0.6981 MB / 0.5199 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.785e-05/0.2977, allocations: 20.77 kB / 0.5199 GB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.2977, allocations: 28.94 kB / 0.5199 GB, free: 5.305 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2977, allocations: 1.375 kB / 0.5199 GB, free: 5.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.3211, allocations: 3.077 MB / 0.5229 GB, free: 2.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.377, allocations: 11.84 kB / 0.5229 GB, free: 2.215 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.337890786118805]