Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 118.9 kB / 17.83 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 203 kB / 20.79 MB, free: 2.297 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.519/1.519, allocations: 207.6 MB / 231.2 MB, free: 4.105 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.356/0.356, allocations: 44.23 MB / 327.3 MB, free: 6.707 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 67.91 kB / 463 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2825, allocations: 61 MB / 0.5117 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003526/0.286, allocations: 1.709 MB / 0.5134 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.2875, allocations: 0.8203 MB / 0.5142 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.2876, allocations: 0 / 0.5142 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.2881, allocations: 85.8 kB / 0.5143 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.2884, allocations: 82.33 kB / 0.5143 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.2888, allocations: 81.39 kB / 0.5144 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.289, allocations: 113.8 kB / 0.5145 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2891, allocations: 8.688 kB / 0.5145 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.2893, allocations: 59.34 kB / 0.5146 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2894, allocations: 69.42 kB / 0.5147 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.2894, allocations: 3.625 kB / 0.5147 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.2895, allocations: 45.7 kB / 0.5147 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.2896, allocations: 29.86 kB / 0.5147 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.2897, allocations: 35.2 kB / 0.5148 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.2899, allocations: 122.7 kB / 0.5149 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2899, allocations: 0 / 0.5149 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2899, allocations: 0 / 0.5149 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2899, allocations: 1.219 kB / 0.5149 GB, free: 10.75 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.0005271/0.2905, allocations: 426.2 kB / 0.5153 GB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2905, allocations: 13.33 kB / 0.5153 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.761e-05/0.2905, allocations: 1.5 kB / 0.5153 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.2906, allocations: 35.88 kB / 0.5153 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.2906, allocations: 18.59 kB / 0.5154 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.2909, allocations: 209.2 kB / 0.5156 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.2909, allocations: 5.25 kB / 0.5156 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.291, allocations: 5.344 kB / 0.5156 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.2911, allocations: 55.11 kB / 0.5156 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2911, allocations: 4 kB / 0.5156 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2912, allocations: 0 / 0.5156 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2912, allocations: 1.844 kB / 0.5156 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.2912, allocations: 18.98 kB / 0.5156 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.2916, allocations: 295.8 kB / 0.5159 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.2918, allocations: 59.64 kB / 0.516 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.2918, allocations: 20.84 kB / 0.516 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.2918, allocations: 2.656 kB / 0.516 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.292, allocations: 71.48 kB / 0.5161 GB, free: 9.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.292, allocations: 0 / 0.5161 GB, free: 9.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006587/0.2927, allocations: 183.7 kB / 0.5162 GB, free: 9.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.2927, allocations: 56.78 kB / 0.5163 GB, free: 9.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.2929, allocations: 234.1 kB / 0.5165 GB, free: 9.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.293, allocations: 27.08 kB / 0.5165 GB, free: 9.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.293, allocations: 105.6 kB / 0.5166 GB, free: 9.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.2931, allocations: 23.91 kB / 0.5167 GB, free: 9.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.2931, allocations: 24.59 kB / 0.5167 GB, free: 8.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.994e-05/0.2932, allocations: 326.9 kB / 0.517 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.236e-05/0.2932, allocations: 19 kB / 0.517 GB, free: 8.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.2933, allocations: 39.45 kB / 0.5171 GB, free: 8.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.2934, allocations: 63.77 kB / 0.5171 GB, free: 8.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2934, allocations: 0 / 0.5171 GB, free: 8.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.2936, allocations: 100.2 kB / 0.5172 GB, free: 8.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2936, allocations: 5.5 kB / 0.5172 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2936, allocations: 0 / 0.5172 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2936, allocations: 9.391 kB / 0.5172 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.2938, allocations: 16.31 kB / 0.5172 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.2938, allocations: 5.312 kB / 0.5173 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.668e-05/0.2938, allocations: 2.75 kB / 0.5173 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2938, allocations: 6.75 kB / 0.5173 GB, free: 8.504 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 0.0001104/0.2939, allocations: 129.9 kB / 0.5174 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.294, allocations: 9.453 kB / 0.5174 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.294, allocations: 22.89 kB / 0.5174 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.294, allocations: 1.375 kB / 0.5174 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.294, allocations: 9.312 kB / 0.5174 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.294, allocations: 0 / 0.5174 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.2945, allocations: 395.5 kB / 0.5178 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2945, allocations: 1.312 kB / 0.5178 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.2945, allocations: 11.58 kB / 0.5178 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2945, allocations: 4.969 kB / 0.5178 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.2945, allocations: 1.906 kB / 0.5178 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2945, allocations: 4.781 kB / 0.5178 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2945, allocations: 4.031 kB / 0.5178 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.2948, allocations: 206 kB / 0.518 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.2948, allocations: 91.8 kB / 0.5181 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.2948, allocations: 1.219 kB / 0.5181 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.2949, allocations: 2.75 kB / 0.5181 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.2949, allocations: 7.781 kB / 0.5181 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.2949, allocations: 10.61 kB / 0.5181 GB, free: 7.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.2951, allocations: 165.8 kB / 0.5183 GB, free: 7.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2951, allocations: 3.938 kB / 0.5183 GB, free: 7.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.2954, allocations: 24.75 kB / 0.5183 GB, free: 7.535 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.002571/0.2979, allocations: 1.107 MB / 0.5194 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.2982, allocations: 59.61 kB / 0.5195 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2982, allocations: 0 / 0.5195 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.2984, allocations: 28.28 kB / 0.5195 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.2989, allocations: 32.12 kB / 0.5195 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.3012, allocations: 1.728 MB / 0.5212 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.3014, allocations: 0.7158 MB / 0.5219 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.916e-05/0.3014, allocations: 13.19 kB / 0.5219 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.995e-05/0.3015, allocations: 35.42 kB / 0.522 GB, free: 4 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3015, allocations: 0 / 0.522 GB, free: 4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.3218, allocations: 3.605 MB / 0.5255 GB, free: 340 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.775/9.097, allocations: 10.41 kB / 0.5255 GB, free: 332 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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: 12.147094407002442]