Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.001545/0.001545, allocations: 119.9 kB / 17.13 MB, free: 5.926 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.001738/0.001738, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.039 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.3421/0.3421, 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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.002173/0.002173, allocations: 72.36 kB / 462.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2772, allocations: 60.99 MB / 0.511 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003206/0.2804, allocations: 1.707 MB / 0.5126 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.2821, allocations: 0.8147 MB / 0.5134 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.2821, allocations: 1.188 kB / 0.5134 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.2825, allocations: 45.8 kB / 0.5135 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.2827, allocations: 58.09 kB / 0.5135 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.283, allocations: 84.28 kB / 0.5136 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.2832, allocations: 98.55 kB / 0.5137 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2833, allocations: 12.06 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.2834, allocations: 43.94 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.2834, allocations: 34.44 kB / 0.5138 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.2835, allocations: 3.562 kB / 0.5138 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.2836, allocations: 37.39 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.2836, allocations: 24.08 kB / 0.5139 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.2837, allocations: 30.2 kB / 0.5139 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.2839, allocations: 119.1 kB / 0.514 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2839, allocations: 0 / 0.514 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2839, allocations: 0 / 0.514 GB, free: 10.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2839, allocations: 1.812 kB / 0.514 GB, free: 10.85 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.0004605/0.2843, allocations: 418.1 kB / 0.5144 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2844, allocations: 13.8 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.2844, allocations: 31.72 kB / 0.5144 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.2845, allocations: 14 kB / 0.5145 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.2847, allocations: 210.5 kB / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.2847, allocations: 2.188 kB / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.2848, allocations: 10.25 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.2849, allocations: 58.36 kB / 0.5147 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2849, allocations: 4 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2849, allocations: 5.328 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.2849, allocations: 0 / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.153e-05/0.285, allocations: 22.09 kB / 0.5148 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.2853, allocations: 283 kB / 0.515 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.2855, allocations: 56.16 kB / 0.5151 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.2856, allocations: 24.41 kB / 0.5151 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.2856, allocations: 1.031 kB / 0.5151 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.2857, allocations: 72.73 kB / 0.5152 GB, free: 9.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.2857, allocations: 0 / 0.5152 GB, free: 9.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005424/0.2863, allocations: 178.2 kB / 0.5153 GB, free: 9.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.2863, allocations: 56.62 kB / 0.5154 GB, free: 9.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.2865, allocations: 191.4 kB / 0.5156 GB, free: 9.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.2865, allocations: 25.7 kB / 0.5156 GB, free: 9.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.2865, allocations: 101.8 kB / 0.5157 GB, free: 9.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.2865, allocations: 23.91 kB / 0.5157 GB, free: 9.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.2866, allocations: 19.38 kB / 0.5157 GB, free: 9.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.2866, allocations: 322.6 kB / 0.5161 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-05/0.2867, allocations: 23.77 kB / 0.5161 GB, free: 8.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.2867, allocations: 41.92 kB / 0.5161 GB, free: 8.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.2869, allocations: 55.23 kB / 0.5162 GB, free: 8.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2869, allocations: 0 / 0.5162 GB, free: 8.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.2871, allocations: 111.9 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2871, allocations: 4.531 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2871, allocations: 1.5 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2871, allocations: 1.438 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.2872, allocations: 20.98 kB / 0.5163 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2872, allocations: 0 / 0.5163 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.2872, allocations: 6.438 kB / 0.5163 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2873, allocations: 6.75 kB / 0.5163 GB, free: 8.648 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 7.212e-05/0.2873, allocations: 127 kB / 0.5164 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.2873, allocations: 8.797 kB / 0.5164 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.2874, allocations: 14.34 kB / 0.5165 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2874, allocations: 1.688 kB / 0.5165 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2874, allocations: 4.188 kB / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2874, allocations: 7.922 kB / 0.5165 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.2878, allocations: 400.8 kB / 0.5169 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2878, allocations: 1.375 kB / 0.5169 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.2878, allocations: 6.875 kB / 0.5169 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2878, allocations: 5.312 kB / 0.5169 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.2879, allocations: 1.375 kB / 0.5169 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2879, allocations: 1.375 kB / 0.5169 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2879, allocations: 240 / 0.5169 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.2881, allocations: 212.3 kB / 0.5171 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.2882, allocations: 89.14 kB / 0.5172 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.2882, allocations: 5.312 kB / 0.5172 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.2883, allocations: 5.75 kB / 0.5172 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.2884, allocations: 8.109 kB / 0.5172 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.2884, allocations: 2.75 kB / 0.5172 GB, free: 7.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.2885, allocations: 145.2 kB / 0.5173 GB, free: 7.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2885, allocations: 1.375 kB / 0.5173 GB, free: 7.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004634/0.289, allocations: 24.48 kB / 0.5173 GB, free: 7.691 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.002238/0.2912, allocations: 1.105 MB / 0.5184 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.2914, allocations: 56.95 kB / 0.5185 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2914, allocations: 0 / 0.5185 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.973e-05/0.2915, allocations: 31.11 kB / 0.5185 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.2918, allocations: 29.64 kB / 0.5185 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.2933, allocations: 1.63 MB / 0.5201 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.2934, allocations: 0.7041 MB / 0.5208 GB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.747e-05/0.2935, allocations: 17.17 kB / 0.5208 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.2935, allocations: 35.42 kB / 0.5209 GB, free: 4.414 MB / 382.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2935, allocations: 0 / 0.5209 GB, free: 4.414 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.3194, allocations: 3.399 MB / 0.5242 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.48, allocations: 0 / 0.5242 GB, free: 0.9336 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.405194699764252]