Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001265/0.001265, allocations: 107.8 kB / 17.08 MB, free: 6.008 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.001263/0.001263, allocations: 192.7 kB / 20.02 MB, free: 3.078 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.552/1.552, allocations: 205.1 MB / 227.9 MB, free: 4.355 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.3265/0.3265, allocations: 43.51 MB / 320.8 MB, free: 9.434 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.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",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.002165/0.002165, allocations: 72.41 kB / 450.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2794, allocations: 57.78 MB / 0.496 GB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002465/0.2819, allocations: 1.705 MB / 0.4976 GB, free: 18.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.283, allocations: 0.7986 MB / 0.4984 GB, free: 17.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.094e-05/0.283, allocations: 9.031 kB / 0.4984 GB, free: 17.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.2833, allocations: 43.19 kB / 0.4985 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.2835, allocations: 58.39 kB / 0.4985 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.2837, allocations: 89.69 kB / 0.4986 GB, free: 17.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.2839, allocations: 88.52 kB / 0.4987 GB, free: 17.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.284, allocations: 18.64 kB / 0.4987 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.175e-05/0.2841, allocations: 42.94 kB / 0.4987 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.2841, allocations: 25.92 kB / 0.4988 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.2842, allocations: 3.344 kB / 0.4988 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.772e-05/0.2842, allocations: 43.27 kB / 0.4988 GB, free: 17.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.2843, allocations: 22.59 kB / 0.4988 GB, free: 17.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.2843, allocations: 40.73 kB / 0.4989 GB, free: 17.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.2845, allocations: 116.2 kB / 0.499 GB, free: 17.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2845, allocations: 3.938 kB / 0.499 GB, free: 17.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2845, allocations: 0 / 0.499 GB, free: 17.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.2845, allocations: 5.125 kB / 0.499 GB, free: 17.08 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.0004225/0.285, allocations: 412.3 kB / 0.4994 GB, free: 16.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.285, allocations: 17.81 kB / 0.4994 GB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.541e-05/0.285, allocations: 31.91 kB / 0.4994 GB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.2851, allocations: 10.02 kB / 0.4994 GB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.2853, allocations: 220 kB / 0.4997 GB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.2853, allocations: 1.312 kB / 0.4997 GB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.2853, allocations: 6.219 kB / 0.4997 GB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.2855, allocations: 58.8 kB / 0.4997 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2855, allocations: 0 / 0.4997 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.2855, allocations: 0 / 0.4997 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.2855, allocations: 1.125 kB / 0.4997 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.012e-05/0.2856, allocations: 18.36 kB / 0.4997 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.2858, allocations: 291.3 kB / 0.5 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.286, allocations: 61.17 kB / 0.5001 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.2861, allocations: 17.86 kB / 0.5001 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.2861, allocations: 1.25 kB / 0.5001 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.2862, allocations: 76.75 kB / 0.5002 GB, free: 15.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.2862, allocations: 1.156 kB / 0.5002 GB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004818/0.2867, allocations: 169.5 kB / 0.5003 GB, free: 15.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.2868, allocations: 64.47 kB / 0.5004 GB, free: 15.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.2869, allocations: 199.1 kB / 0.5006 GB, free: 15.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.2869, allocations: 26.92 kB / 0.5006 GB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.287, allocations: 104.8 kB / 0.5007 GB, free: 15.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.287, allocations: 31.52 kB / 0.5007 GB, free: 15.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.287, allocations: 24.19 kB / 0.5008 GB, free: 15.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.2871, allocations: 327.2 kB / 0.5011 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.265e-05/0.2871, allocations: 22.83 kB / 0.5011 GB, free: 15.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.2872, allocations: 35.89 kB / 0.5011 GB, free: 15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.639e-05/0.2873, allocations: 62.45 kB / 0.5012 GB, free: 14.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2873, allocations: 0 / 0.5012 GB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001518/0.2875, allocations: 96.53 kB / 0.5013 GB, free: 14.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2875, allocations: 5 kB / 0.5013 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2875, allocations: 0 / 0.5013 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2875, allocations: 9.016 kB / 0.5013 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.2876, allocations: 21.83 kB / 0.5013 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2876, allocations: 1.469 kB / 0.5013 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.2876, allocations: 9.375 kB / 0.5013 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.2877, allocations: 2.938 kB / 0.5013 GB, free: 14.88 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.331e-05/0.2877, allocations: 130.3 kB / 0.5015 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.2878, allocations: 8.984 kB / 0.5015 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.2878, allocations: 15.22 kB / 0.5015 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2878, allocations: 5.125 kB / 0.5015 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2878, allocations: 3.984 kB / 0.5015 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2878, allocations: 5.156 kB / 0.5015 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.2881, allocations: 394.1 kB / 0.5019 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2881, allocations: 0 / 0.5019 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.2882, allocations: 8.062 kB / 0.5019 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2882, allocations: 5.219 kB / 0.5019 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.2882, allocations: 1.281 kB / 0.5019 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2882, allocations: 1.156 kB / 0.5019 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2882, allocations: 13.11 kB / 0.5019 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.2884, allocations: 200.2 kB / 0.5021 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.2884, allocations: 87.7 kB / 0.5022 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2884, allocations: 6 kB / 0.5022 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.559e-05/0.2885, allocations: 6.281 kB / 0.5022 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.2885, allocations: 15.2 kB / 0.5022 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.2886, allocations: 3.469 kB / 0.5022 GB, free: 14.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.365e-05/0.2887, allocations: 147.8 kB / 0.5023 GB, free: 13.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2887, allocations: 0 / 0.5023 GB, free: 13.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.2889, allocations: 24.81 kB / 0.5024 GB, free: 13.92 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.001747/0.2907, allocations: 1.107 MB / 0.5034 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.2909, allocations: 54.14 kB / 0.5035 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2909, allocations: 64 / 0.5035 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/0.2909, allocations: 33.45 kB / 0.5035 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.2913, allocations: 37.44 kB / 0.5036 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.2926, allocations: 1.658 MB / 0.5052 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.2928, allocations: 0.7058 MB / 0.5059 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.727e-05/0.2928, allocations: 17.89 kB / 0.5059 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.2929, allocations: 35.98 kB / 0.5059 GB, free: 10.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2929, allocations: 0 / 0.5059 GB, free: 10.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.3168, allocations: 3.432 MB / 0.5093 GB, free: 8.676 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.472, allocations: 17.27 kB / 0.5093 GB, free: 8.66 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.400978145888075]