Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.001347/0.001347, allocations: 120.2 kB / 17.13 MB, free: 5.941 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.001253/0.001253, allocations: 196.7 kB / 20.07 MB, free: 3.012 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.566/1.566, allocations: 207.6 MB / 230.5 MB, free: 4.023 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.3583/0.3583, allocations: 44.23 MB / 326.5 MB, free: 6.844 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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.002191/0.002191, allocations: 67.91 kB / 462.2 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.291, allocations: 61.01 MB / 0.511 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002794/0.2938, allocations: 1.798 MB / 0.5127 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2951, allocations: 0.8842 MB / 0.5136 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.2951, allocations: 5.969 kB / 0.5136 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.2957, allocations: 295 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.296, allocations: 216.9 kB / 0.5141 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.2964, allocations: 137.5 kB / 0.5142 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.2966, allocations: 245.9 kB / 0.5144 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.894e-05/0.2967, allocations: 9.672 kB / 0.5145 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.2969, allocations: 130.6 kB / 0.5146 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.2971, allocations: 203.9 kB / 0.5148 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.2971, allocations: 6.656 kB / 0.5148 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.2972, allocations: 42.05 kB / 0.5148 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.2974, allocations: 140.2 kB / 0.515 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2975, allocations: 142.3 kB / 0.5151 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.2979, allocations: 361 kB / 0.5154 GB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2979, allocations: 1.062 kB / 0.5154 GB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2979, allocations: 0 / 0.5154 GB, free: 10.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2979, allocations: 3.938 kB / 0.5154 GB, free: 10.09 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.0008094/0.2987, allocations: 0.7376 MB / 0.5162 GB, free: 9.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.2988, allocations: 13.48 kB / 0.5162 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.2988, allocations: 36.12 kB / 0.5162 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.2989, allocations: 49.23 kB / 0.5163 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/0.2994, allocations: 452 kB / 0.5167 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2995, allocations: 1.75 kB / 0.5167 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.2995, allocations: 6.688 kB / 0.5167 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.2997, allocations: 87.92 kB / 0.5168 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2997, allocations: 1.375 kB / 0.5168 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2997, allocations: 0 / 0.5168 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2997, allocations: 1.375 kB / 0.5168 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.2998, allocations: 36.47 kB / 0.5168 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.3002, allocations: 364.5 kB / 0.5172 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.3004, allocations: 109.1 kB / 0.5173 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.456e-05/0.3005, allocations: 41.7 kB / 0.5173 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3005, allocations: 3.984 kB / 0.5173 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.3007, allocations: 109 kB / 0.5174 GB, free: 8.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3007, allocations: 0 / 0.5174 GB, free: 8.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004246/0.3011, allocations: 205.6 kB / 0.5176 GB, free: 7.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3012, allocations: 85.11 kB / 0.5177 GB, free: 7.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007691/0.3019, allocations: 1.003 MB / 0.5187 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.302, allocations: 25.7 kB / 0.5187 GB, free: 6.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3021, allocations: 224.1 kB / 0.5189 GB, free: 6.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.3021, allocations: 39.73 kB / 0.5189 GB, free: 6.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.3021, allocations: 25.7 kB / 0.519 GB, free: 6.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.3022, allocations: 370.8 kB / 0.5193 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.456e-05/0.3023, allocations: 27.98 kB / 0.5193 GB, free: 6.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-05/0.3024, allocations: 52.3 kB / 0.5194 GB, free: 6.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3025, allocations: 95.34 kB / 0.5195 GB, free: 5.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3025, allocations: 3.938 kB / 0.5195 GB, free: 5.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002343/0.3027, allocations: 169.2 kB / 0.5197 GB, free: 5.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3028, allocations: 4 kB / 0.5197 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3028, allocations: 4 kB / 0.5197 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3028, allocations: 0 / 0.5197 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3029, allocations: 19.98 kB / 0.5197 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3029, allocations: 7.938 kB / 0.5197 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.17e-05/0.303, allocations: 16 kB / 0.5197 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.303, allocations: 8 kB / 0.5197 GB, free: 5.754 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.0001521/0.3032, allocations: 225.6 kB / 0.5199 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.3032, allocations: 55.66 kB / 0.52 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.067e-05/0.3033, allocations: 55.84 kB / 0.52 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3033, allocations: 4 kB / 0.52 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3033, allocations: 256 / 0.52 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3033, allocations: 0 / 0.52 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.3035, allocations: 341.4 kB / 0.5204 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3035, allocations: 4 kB / 0.5204 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.3036, allocations: 8 kB / 0.5204 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3036, allocations: 3.984 kB / 0.5204 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3036, allocations: 4 kB / 0.5204 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3036, allocations: 0 / 0.5204 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3036, allocations: 0 / 0.5204 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.3038, allocations: 205.5 kB / 0.5206 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.304, allocations: 144.7 kB / 0.5207 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.304, allocations: 4 kB / 0.5207 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.3041, allocations: 3.984 kB / 0.5207 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.3041, allocations: 15.92 kB / 0.5207 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.3042, allocations: 8 kB / 0.5207 GB, free: 4.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005693/0.3047, allocations: 0.7487 MB / 0.5215 GB, free: 3.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3047, allocations: 0 / 0.5215 GB, free: 3.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.305, allocations: 43.94 kB / 0.5215 GB, free: 3.805 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.001811/0.3068, allocations: 1.054 MB / 0.5225 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.307, allocations: 71.91 kB / 0.5226 GB, free: 2.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.307, allocations: 4.125 kB / 0.5226 GB, free: 2.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.3071, allocations: 43.91 kB / 0.5227 GB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.3075, allocations: 66.2 kB / 0.5227 GB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.3123, allocations: 4.415 MB / 0.527 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.3129, allocations: 0.8427 MB / 0.5279 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.3131, allocations: 55.45 kB / 0.5279 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.3134, allocations: 147.3 kB / 0.5281 GB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3134, allocations: 0 / 0.5281 GB, free: 12.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03749/0.3509, allocations: 8.815 MB / 0.5367 GB, free: 4.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.811/9.162, allocations: 15.92 kB / 0.5367 GB, free: 4.062 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.227132584899664]