Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.001306/0.001306, allocations: 117.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.001648/0.001648, allocations: 192.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.577/1.577, allocations: 207.6 MB / 230.4 MB, free: 4.07 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.3602/0.3602, allocations: 44.23 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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",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.002188/0.002188, allocations: 75.89 kB / 462.2 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2923, allocations: 60.99 MB / 0.511 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002795/0.2951, allocations: 1.796 MB / 0.5127 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2964, allocations: 0.8907 MB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.409e-05/0.2965, allocations: 1.406 kB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.297, allocations: 307.9 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.2973, allocations: 215.6 kB / 0.5141 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.2976, allocations: 146 kB / 0.5142 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.2979, allocations: 241.8 kB / 0.5145 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.2979, allocations: 13.66 kB / 0.5145 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.2981, allocations: 132 kB / 0.5146 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.2983, allocations: 214.9 kB / 0.5148 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.2983, allocations: 6.312 kB / 0.5148 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.2984, allocations: 41.17 kB / 0.5148 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.2985, allocations: 138.2 kB / 0.515 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.2986, allocations: 146.5 kB / 0.5151 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.299, allocations: 369 kB / 0.5155 GB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.299, allocations: 0 / 0.5155 GB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.299, allocations: 4 kB / 0.5155 GB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.299, allocations: 0 / 0.5155 GB, free: 10.04 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008296/0.2998, allocations: 0.7488 MB / 0.5162 GB, free: 9.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.2999, allocations: 13.48 kB / 0.5162 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.61e-05/0.2999, allocations: 32.12 kB / 0.5162 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.3, allocations: 49.23 kB / 0.5163 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.3005, allocations: 454.7 kB / 0.5167 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3005, allocations: 11.12 kB / 0.5167 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.3006, allocations: 6.688 kB / 0.5167 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3007, allocations: 87.97 kB / 0.5168 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.3007, allocations: 3.938 kB / 0.5168 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3007, allocations: 1.375 kB / 0.5168 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3008, allocations: 0 / 0.5168 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.996e-05/0.3009, allocations: 35.03 kB / 0.5169 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.3012, allocations: 374.4 kB / 0.5172 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.3014, allocations: 109.1 kB / 0.5173 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.3015, allocations: 37.69 kB / 0.5174 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3015, allocations: 8 kB / 0.5174 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.3017, allocations: 108.9 kB / 0.5175 GB, free: 8.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.3017, allocations: 0 / 0.5175 GB, free: 8.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003918/0.3021, allocations: 201.6 kB / 0.5177 GB, free: 7.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.3021, allocations: 85.11 kB / 0.5178 GB, free: 7.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/0.3029, allocations: 1.034 MB / 0.5188 GB, free: 6.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.3029, allocations: 29.7 kB / 0.5188 GB, free: 6.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.303, allocations: 236.1 kB / 0.519 GB, free: 6.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.303, allocations: 27.78 kB / 0.519 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.3031, allocations: 25.72 kB / 0.5191 GB, free: 6.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.3031, allocations: 366.8 kB / 0.5194 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.205e-05/0.3032, allocations: 27.98 kB / 0.5194 GB, free: 6.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.3033, allocations: 64.28 kB / 0.5195 GB, free: 5.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.3034, allocations: 87.42 kB / 0.5196 GB, free: 5.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3034, allocations: 3.938 kB / 0.5196 GB, free: 5.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002311/0.3037, allocations: 181.2 kB / 0.5198 GB, free: 5.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3037, allocations: 4 kB / 0.5198 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3037, allocations: 0 / 0.5198 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3037, allocations: 4 kB / 0.5198 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3038, allocations: 19.98 kB / 0.5198 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3038, allocations: 4 kB / 0.5198 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-05/0.3039, allocations: 8 kB / 0.5198 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.3039, allocations: 4 kB / 0.5198 GB, free: 5.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001397/0.304, allocations: 237.6 kB / 0.52 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.3041, allocations: 47.67 kB / 0.5201 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.3041, allocations: 60 kB / 0.5201 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3041, allocations: 0 / 0.5201 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3042, allocations: 4 kB / 0.5201 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3042, allocations: 3.984 kB / 0.5201 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.3044, allocations: 341.3 kB / 0.5205 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3044, allocations: 4 kB / 0.5205 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.3044, allocations: 12.11 kB / 0.5205 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3044, allocations: 4 kB / 0.5205 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3044, allocations: 4 kB / 0.5205 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3044, allocations: 0 / 0.5205 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3044, allocations: 0 / 0.5205 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.3047, allocations: 209.4 kB / 0.5207 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3048, allocations: 140.8 kB / 0.5208 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.3048, allocations: 3.984 kB / 0.5208 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.3049, allocations: 11.94 kB / 0.5208 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.305, allocations: 11.98 kB / 0.5209 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.305, allocations: 4 kB / 0.5209 GB, free: 4.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005289/0.3055, allocations: 0.7721 MB / 0.5216 GB, free: 3.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3055, allocations: 0 / 0.5216 GB, free: 3.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.3058, allocations: 43.94 kB / 0.5217 GB, free: 3.629 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00169/0.3075, allocations: 1.06 MB / 0.5227 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.3077, allocations: 79.91 kB / 0.5228 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3077, allocations: 0 / 0.5228 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.3078, allocations: 35.92 kB / 0.5228 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.3082, allocations: 74.38 kB / 0.5229 GB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005085/0.3133, allocations: 4.523 MB / 0.5273 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.3139, allocations: 0.8426 MB / 0.5281 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.3141, allocations: 63.44 kB / 0.5282 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.3143, allocations: 147.3 kB / 0.5283 GB, free: 12.68 MB / 398.1 MB Notification: Performance of SimCode: time 1.663e-06/0.3143, allocations: 0 / 0.5283 GB, free: 12.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.3482, allocations: 8.975 MB / 0.5371 GB, free: 3.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.814/9.162, allocations: 11.86 kB / 0.5371 GB, free: 3.617 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.230031921062618]